summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/qopengl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/opengl/qopengl.h')
-rw-r--r--src/gui/opengl/qopengl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/opengl/qopengl.h b/src/gui/opengl/qopengl.h
index 7d757949566..cef4277d6bf 100644
--- a/src/gui/opengl/qopengl.h
+++ b/src/gui/opengl/qopengl.h
@@ -63,6 +63,9 @@ typedef GLfloat GLdouble;
# if defined(Q_OS_MAC)
# include <OpenGL/gl.h>
# else
+# if defined(Q_OS_WIN)
+# include <QtCore/qt_windows.h>
+# endif
# include <GL/gl.h>
# endif
#endif