diff options
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/testlauncher.cpp | 2 | ||||
-rw-r--r-- | src/test/testmain.cpp | 1 | ||||
-rw-r--r-- | src/test/testmain.h | 7 |
3 files changed, 7 insertions, 3 deletions
diff --git a/src/test/testlauncher.cpp b/src/test/testlauncher.cpp index f761c7981..2b86a3eca 100644 --- a/src/test/testlauncher.cpp +++ b/src/test/testlauncher.cpp @@ -37,6 +37,8 @@ #include "utils/physfscheckutils.h" #include "utils/physfsrwops.h" +#include "render/graphics.h" + #include "resources/image.h" #include "resources/imagewriter.h" #include "resources/mstack.h" diff --git a/src/test/testmain.cpp b/src/test/testmain.cpp index 81621fb06..50723a0a8 100644 --- a/src/test/testmain.cpp +++ b/src/test/testmain.cpp @@ -23,6 +23,7 @@ #ifdef USE_OPENGL +#include "logger.h" #include "settings.h" #include "utils/delete2.h" diff --git a/src/test/testmain.h b/src/test/testmain.h index 0875cfc06..02b5fd2a5 100644 --- a/src/test/testmain.h +++ b/src/test/testmain.h @@ -21,15 +21,16 @@ #ifndef TEST_TESTMAIN_H #define TEST_TESTMAIN_H +#ifdef USE_OPENGL + #include "configuration.h" -#include "logger.h" #include "render/renderers.h" -#ifdef USE_OPENGL - #include <string> +class Logger; + class TestMain final { public: |