summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qopenglcontext_platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qopenglcontext_platform.h')
-rw-r--r--src/gui/kernel/qopenglcontext_platform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qopenglcontext_platform.h b/src/gui/kernel/qopenglcontext_platform.h
index 8275416f42..2e475c7fe9 100644
--- a/src/gui/kernel/qopenglcontext_platform.h
+++ b/src/gui/kernel/qopenglcontext_platform.h
@@ -46,6 +46,8 @@
#include <QtGui/qopenglcontext.h>
#include <QtGui/qwindowdefs.h>
+#include <QtCore/qnativeinterface.h>
+
#if defined(Q_OS_MACOS)
Q_FORWARD_DECLARE_OBJC_CLASS(NSOpenGLContext);
#endif