summaryrefslogtreecommitdiff
path: root/src/integrity_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/integrity_unittest.cc')
-rw-r--r--src/integrity_unittest.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/integrity_unittest.cc b/src/integrity_unittest.cc
index bf2203847..0c61a15a4 100644
--- a/src/integrity_unittest.cc
+++ b/src/integrity_unittest.cc
@@ -34,6 +34,10 @@
#include "utils/env.h"
#include "utils/physfstools.h"
+#ifndef USE_SDL2
+#include <SDL.h>
+#endif // USE_SDL2
+
#include "debug.h"
namespace