summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/platform
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/opengl/platform')
-rw-r--r--src/gui/opengl/platform/egl/qt_egl_p.h1
-rw-r--r--src/gui/opengl/platform/unix/qglxconvenience_p.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/opengl/platform/egl/qt_egl_p.h b/src/gui/opengl/platform/egl/qt_egl_p.h
index 5d4e2fd6d4..959487f84e 100644
--- a/src/gui/opengl/platform/egl/qt_egl_p.h
+++ b/src/gui/opengl/platform/egl/qt_egl_p.h
@@ -54,6 +54,7 @@
// q(data/text)stream.h must be included before any header file that defines Status
#include <QtCore/qdatastream.h>
#include <QtCore/qtextstream.h>
+#include <QtCore/private/qglobal_p.h>
#ifdef QT_EGL_NO_X11
# ifndef EGL_NO_X11
diff --git a/src/gui/opengl/platform/unix/qglxconvenience_p.h b/src/gui/opengl/platform/unix/qglxconvenience_p.h
index ecd8737f87..db574671fa 100644
--- a/src/gui/opengl/platform/unix/qglxconvenience_p.h
+++ b/src/gui/opengl/platform/unix/qglxconvenience_p.h
@@ -53,6 +53,7 @@
#include <QtCore/qlist.h>
#include <QtGui/qsurfaceformat.h>
+#include <QtCore/private/qglobal_p.h>
#include <X11/Xlib.h>
#include <GL/glx.h>