summaryrefslogtreecommitdiff
path: root/src/resources/dye
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-15 02:17:22 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-15 02:17:22 +0300
commit5273b0bc8dcc2adbf8557a4008c63e50955884fe (patch)
tree016a51b1411bf175d899dd1ba1944d123bcc6f2d /src/resources/dye
parent4a34b6a722bd86342db71decbd20ae7fac673088 (diff)
downloadManaVerse-5273b0bc8dcc2adbf8557a4008c63e50955884fe.tar.gz
ManaVerse-5273b0bc8dcc2adbf8557a4008c63e50955884fe.tar.bz2
ManaVerse-5273b0bc8dcc2adbf8557a4008c63e50955884fe.tar.xz
ManaVerse-5273b0bc8dcc2adbf8557a4008c63e50955884fe.zip
Fix tests compilation without SDL2.
Diffstat (limited to 'src/resources/dye')
-rw-r--r--src/resources/dye/dyepalette_unittest.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/dye/dyepalette_unittest.cc b/src/resources/dye/dyepalette_unittest.cc
index 3de2b1c3b..8689cdf6f 100644
--- a/src/resources/dye/dyepalette_unittest.cc
+++ b/src/resources/dye/dyepalette_unittest.cc
@@ -36,6 +36,10 @@
#include "utils/env.h"
#include "utils/physfstools.h"
+#ifndef USE_SDL2
+#include <SDL.h>
+#endif // USE_SDL2
+
#include "debug.h"
TEST_CASE("DyePalette tests")