diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-13 22:05:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-13 22:05:19 +0300 |
commit | 760e5829acabf6308473d2b4c0afa183f62fb2ac (patch) | |
tree | 67b1ed1a05536c8d570a9038d5d87f1f3c7c90a9 | |
parent | e391affe5f7694ab2e024f23cd70eafc524eb37a (diff) | |
download | manaplus-760e5829acabf6308473d2b4c0afa183f62fb2ac.tar.gz manaplus-760e5829acabf6308473d2b4c0afa183f62fb2ac.tar.bz2 manaplus-760e5829acabf6308473d2b4c0afa183f62fb2ac.tar.xz manaplus-760e5829acabf6308473d2b4c0afa183f62fb2ac.zip |
Fix unit tests compilation.
-rw-r--r-- | src/integrity_unittest.cc | 2 | ||||
-rw-r--r-- | src/resources/dye/dyepalette_unittest.cc | 2 | ||||
-rw-r--r-- | src/resources/sprite/animatedsprite_unittest.cc | 2 | ||||
-rw-r--r-- | src/utils/chatutils_unittest.cc | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/src/integrity_unittest.cc b/src/integrity_unittest.cc index bf2203847..08306afbe 100644 --- a/src/integrity_unittest.cc +++ b/src/integrity_unittest.cc @@ -34,6 +34,8 @@ #include "utils/env.h" #include "utils/physfstools.h" +#include <SDL.h> + #include "debug.h" namespace 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") diff --git a/src/utils/chatutils_unittest.cc b/src/utils/chatutils_unittest.cc index af4cb388a..cf19de80d 100644 --- a/src/utils/chatutils_unittest.cc +++ b/src/utils/chatutils_unittest.cc @@ -37,6 +37,8 @@ #include "resources/resourcemanager/resourcemanager.h" +#include <SDL.h> + #include "debug.h" TEST_CASE("chatutils replaceVars") |