summaryrefslogtreecommitdiffstats
path: root/qtinterface/interface_qt3
diff options
context:
space:
mode:
Diffstat (limited to 'qtinterface/interface_qt3')
-rw-r--r--qtinterface/interface_qt3/tqgl.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/qtinterface/interface_qt3/tqgl.cpp b/qtinterface/interface_qt3/tqgl.cpp
index 66f69cc..e165f5c 100644
--- a/qtinterface/interface_qt3/tqgl.cpp
+++ b/qtinterface/interface_qt3/tqgl.cpp
@@ -18,6 +18,12 @@ the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <tqt.h>
+
+#ifdef HAVE_OPENGL
#include <tqgl.h>
+#endif