summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-13 22:05:19 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-13 22:05:19 +0300
commit760e5829acabf6308473d2b4c0afa183f62fb2ac (patch)
tree67b1ed1a05536c8d570a9038d5d87f1f3c7c90a9 /src/resources
parente391affe5f7694ab2e024f23cd70eafc524eb37a (diff)
downloadplus-760e5829acabf6308473d2b4c0afa183f62fb2ac.tar.gz
plus-760e5829acabf6308473d2b4c0afa183f62fb2ac.tar.bz2
plus-760e5829acabf6308473d2b4c0afa183f62fb2ac.tar.xz
plus-760e5829acabf6308473d2b4c0afa183f62fb2ac.zip
Fix unit tests compilation.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/dye/dyepalette_unittest.cc2
-rw-r--r--src/resources/sprite/animatedsprite_unittest.cc2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/dye/dyepalette_unittest.cc b/src/resources/dye/dyepalette_unittest.cc
index 3de2b1c3b..20419a470 100644
--- a/src/resources/dye/dyepalette_unittest.cc
+++ b/src/resources/dye/dyepalette_unittest.cc
@@ -36,6 +36,8 @@
#include "utils/env.h"
#include "utils/physfstools.h"
+#include <SDL.h>
+
#include "debug.h"
TEST_CASE("DyePalette tests")
diff --git a/src/resources/sprite/animatedsprite_unittest.cc b/src/resources/sprite/animatedsprite_unittest.cc
index 1a77ea38f..794ce543a 100644
--- a/src/resources/sprite/animatedsprite_unittest.cc
+++ b/src/resources/sprite/animatedsprite_unittest.cc
@@ -40,6 +40,8 @@
#include "utils/mrand.h"
#include "utils/physfstools.h"
+#include <SDL.h>
+
#include "debug.h"
TEST_CASE("AnimatedSprite tests", "animatedsprite")