summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/resources/resourcemanager/resourcemanager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/resourcemanager/resourcemanager.cpp b/src/resources/resourcemanager/resourcemanager.cpp
index 49a59b832..ef6ac3a12 100644
--- a/src/resources/resourcemanager/resourcemanager.cpp
+++ b/src/resources/resourcemanager/resourcemanager.cpp
@@ -38,7 +38,9 @@
#include "utils/delete2.h"
#include "utils/physfsrwops.h"
+#ifndef USE_OPENGL
#include <SDL_image.h>
+#endif
#include <sstream>
#include <sys/time.h>