summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/map/maplayer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/map/maplayer.cpp b/src/resources/map/maplayer.cpp
index f9f154a64..b55637143 100644
--- a/src/resources/map/maplayer.cpp
+++ b/src/resources/map/maplayer.cpp
@@ -31,7 +31,9 @@
#include "gui/userpalette.h"
+#ifdef USE_OPENGL
#include "utils/foreach.h"
+#endif // USE_OPENGL
#include "render/graphics.h"