summaryrefslogtreecommitdiff
path: root/src/test/testlauncher.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-08 19:48:26 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-08 19:48:26 +0300
commit196cc38da19b867eaa9419343dd6ecd8212af354 (patch)
treeafb2d39f88c213702a339cae6fa08f8248b5c1af /src/test/testlauncher.h
parenta80a1c69f8a5f4db88ade16e3b9d53f7b648be47 (diff)
downloadmanaplus-196cc38da19b867eaa9419343dd6ecd8212af354.tar.gz
manaplus-196cc38da19b867eaa9419343dd6ecd8212af354.tar.bz2
manaplus-196cc38da19b867eaa9419343dd6ecd8212af354.tar.xz
manaplus-196cc38da19b867eaa9419343dd6ecd8212af354.zip
Fix compilation errors and warnings in different modes.
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