summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/qopengl.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-08-29 14:13:08 +0200
committerSamuel Rødal <samuel.rodal@nokia.com>2011-08-29 14:39:07 +0200
commitcf9a304e6e3134421b8268bf8e75dc46b3d044c2 (patch)
tree17a7587d9d42eedd8f1655048b6dc8da03383d76 /src/gui/opengl/qopengl.h
parentc1ccf6922637952f749cc2d67fbc07f9ab340b33 (diff)
Build on Windows/clean build on Linux.
Change-Id: I26552e85a8e8c63002db93b7d9b645981620f0af Reviewed-on: http://codereview.qt.nokia.com/3738 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
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 7d75794956..cef4277d6b 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