summaryrefslogtreecommitdiff
path: root/src/test/testlauncher.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/testlauncher.h')
-rw-r--r--src/test/testlauncher.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/testlauncher.h b/src/test/testlauncher.h
index af5c53578..baa20c921 100644
--- a/src/test/testlauncher.h
+++ b/src/test/testlauncher.h
@@ -21,6 +21,10 @@
#ifndef TEST_TESTLAUNCHER_H
#define TEST_TESTLAUNCHER_H
+#include "main.h"
+
+#ifdef USE_OPENGL
+
#include <fstream>
#include <string>
#include <sys/time.h>
@@ -57,4 +61,5 @@ class TestLauncher
std::ofstream file;
};
+#endif
#endif // TEST_TESTLAUNCHER_H