summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 505cc647..923ceb9c 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -37,7 +37,9 @@
#include <libxml/xmlversion.h>
#include <libxml/parser.h>
#include <SDL.h>
+#ifdef USE_OPENGL
#include <SDL_opengl.h>
+#endif
#include <SDL_image.h>
#ifdef __USE_UNIX98