summaryrefslogtreecommitdiff
path: root/src/resources/image.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/image.cpp')
-rw-r--r--src/resources/image.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/image.cpp b/src/resources/image.cpp
index f185d103e..8bf41aa4c 100644
--- a/src/resources/image.cpp
+++ b/src/resources/image.cpp
@@ -33,7 +33,11 @@
#include "utils/sdlcheckutils.h"
+#ifdef USE_SDL2
+#include <SDL2_rotozoom.h>
+#else
#include <SDL_rotozoom.h>
+#endif
#include "debug.h"