From 36fae1134ffed13651c09f2f26c937482b96977f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 7 Sep 2017 17:28:57 +0300 Subject: Fix tests compilation. --- src/maingui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/maingui.cpp') 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 \ -- cgit v1.2.3-70-g09d2