From 34ffeac394298fd99557f3cbbc7628413466dd4f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 30 Apr 2016 18:02:24 +0300 Subject: Dont include GL/glx.h if x11 usage disabled. --- src/graphicsmanager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp index 2c494a85a..f3442bcfc 100644 --- a/src/graphicsmanager.cpp +++ b/src/graphicsmanager.cpp @@ -35,7 +35,9 @@ #include #include "render/opengl/naclglfunctions.h" #else // ANDROID +#ifdef USE_X11 #include +#endif // USE_X11 #endif // ANDROID #endif // WIN32 #endif // USE_OPENGL -- cgit v1.2.3-70-g09d2