summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qplatformopenglcontext.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qplatformopenglcontext.h')
-rw-r--r--src/gui/kernel/qplatformopenglcontext.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/kernel/qplatformopenglcontext.h b/src/gui/kernel/qplatformopenglcontext.h
index 9e13622283..42e4db2f9d 100644
--- a/src/gui/kernel/qplatformopenglcontext.h
+++ b/src/gui/kernel/qplatformopenglcontext.h
@@ -51,9 +51,10 @@
// source and binary incompatible with future versions of Qt.
//
+#include <QtCore/qnamespace.h>
+
#ifndef QT_NO_OPENGL
-#include <QtCore/qnamespace.h>
#include <QtGui/qsurfaceformat.h>
#include <QtGui/qwindow.h>
#include <QtGui/qopengl.h>