summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r--src/graphicsmanager.cpp2
1 files changed, 2 insertions, 0 deletions
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 <GL/Regal.h>
#include "render/opengl/naclglfunctions.h"
#else // ANDROID
+#ifdef USE_X11
#include <GL/glx.h>
+#endif // USE_X11
#endif // ANDROID
#endif // WIN32
#endif // USE_OPENGL