From 58f7f377a7fa6ba1aabfc35e337e7a81f769e45d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 3 Jun 2016 22:30:23 +0300 Subject: Fix compilation for Android. --- src/gui/widgets/tabs/setup_video.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/gui/widgets/tabs/setup_video.cpp b/src/gui/widgets/tabs/setup_video.cpp index 378a02f42..affe8df45 100644 --- a/src/gui/widgets/tabs/setup_video.cpp +++ b/src/gui/widgets/tabs/setup_video.cpp @@ -44,14 +44,17 @@ #include "graphicsmanager.h" #include "test/testmain.h" -#endif +#endif // defined(USE_OPENGL) && !defined(ANDROID) && !defined(__APPLE__) + #ifndef USE_OPENGL +#include "render/renderers.h" +#endif + +#if defined(ANDROID) || !defined(USE_OPENGL) #include "configuration.h" #include "utils/stringutils.h" - -#include "render/renderers.h" #endif #include "gui/models/modelistmodel.h" -- cgit v1.2.3-70-g09d2