From 0813fbb537546a48b972c956ac281f6c95647bb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20M=C3=BCller?= Date: Thu, 16 Jun 2022 17:33:42 +0200 Subject: [PATCH] Move android log include to correct file --- src/base/log.cpp | 4 ++++ src/base/system.cpp | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/base/log.cpp b/src/base/log.cpp index e9f311f88..f94332aef 100644 --- a/src/base/log.cpp +++ b/src/base/log.cpp @@ -15,6 +15,10 @@ #include #endif +#if defined(CONF_PLATFORM_ANDROID) +#include +#endif + extern "C" { std::atomic loglevel = LEVEL_INFO; diff --git a/src/base/system.cpp b/src/base/system.cpp index bce420632..bf50d568f 100644 --- a/src/base/system.cpp +++ b/src/base/system.cpp @@ -54,10 +54,6 @@ #include #endif -#ifdef CONF_PLATFORM_ANDROID -#include -#endif - #elif defined(CONF_FAMILY_WINDOWS) #define WIN32_LEAN_AND_MEAN #undef _WIN32_WINNT