summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 \