summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-07 17:28:57 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-07 17:28:57 +0300
commit36fae1134ffed13651c09f2f26c937482b96977f (patch)
treeb6939391d99c1cbc8679ee4a13f7c4f640130119 /src
parentee76fa45a30273cc123766a57f020c77e49b8412 (diff)
downloadmv-36fae1134ffed13651c09f2f26c937482b96977f.tar.gz
mv-36fae1134ffed13651c09f2f26c937482b96977f.tar.bz2
mv-36fae1134ffed13651c09f2f26c937482b96977f.tar.xz
mv-36fae1134ffed13651c09f2f26c937482b96977f.zip
Fix tests compilation.
Diffstat (limited to 'src')
-rw-r--r--src/maingui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/maingui.cpp b/src/maingui.cpp
index 4279472bd..bb1abf5ae 100644
--- a/src/maingui.cpp
+++ b/src/maingui.cpp
@@ -53,6 +53,7 @@ PRAGMA48(GCC diagnostic pop)
#ifdef UNITTESTS
#include "utils/cpu.h"
+#include "utils/sdlhelper.h"
#include "resources/dye/dyepalette.h"
#ifdef UNITTESTS_CATCH
#define CATCH_CONFIG_RUNNER
@@ -64,7 +65,6 @@ PRAGMA48(GCC diagnostic pop)
#endif // UNITTESTS_DOCTEST
#else // UNITTESTS
#include "utils/xml.h"
-#include "utils/sdlhelper.h"
#endif // UNITTESTS
#define SDL_IMAGE_COMPILEDVERSION \