summaryrefslogtreecommitdiff
path: root/src/resources/sprite/animatedsprite_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/sprite/animatedsprite_unittest.cc')
-rw-r--r--src/resources/sprite/animatedsprite_unittest.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/sprite/animatedsprite_unittest.cc b/src/resources/sprite/animatedsprite_unittest.cc
index 1a77ea38f..8601bed17 100644
--- a/src/resources/sprite/animatedsprite_unittest.cc
+++ b/src/resources/sprite/animatedsprite_unittest.cc
@@ -40,6 +40,10 @@
#include "utils/mrand.h"
#include "utils/physfstools.h"
+#ifndef USE_SDL2
+#include <SDL.h>
+#endif // USE_SDL2
+
#include "debug.h"
TEST_CASE("AnimatedSprite tests", "animatedsprite")