summaryrefslogtreecommitdiff
path: root/src/test/testmain.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/testmain.h')
-rw-r--r--src/test/testmain.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/testmain.h b/src/test/testmain.h
index 2367b7d1b..69d2b8f77 100644
--- a/src/test/testmain.h
+++ b/src/test/testmain.h
@@ -23,6 +23,9 @@
#include "configuration.h"
#include "logger.h"
+#include "main.h"
+
+#ifdef USE_OPENGL
#include <string>
@@ -70,4 +73,5 @@ class TestMain
Configuration mConfig;
};
+#endif
#endif // TEST_TESTMAIN_H