summaryrefslogtreecommitdiffstats
path: root/src/opengl
diff options
context:
space:
mode:
Diffstat (limited to 'src/opengl')
-rw-r--r--src/opengl/qgl.h2
-rw-r--r--src/opengl/qglpaintdevice_p.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/opengl/qgl.h b/src/opengl/qgl.h
index 30a8a32cfe..15782dd319 100644
--- a/src/opengl/qgl.h
+++ b/src/opengl/qgl.h
@@ -58,7 +58,7 @@ QT_BEGIN_HEADER
# include <QtCore/qt_windows.h>
#endif
-#if defined(Q_WS_MAC)
+#if defined(Q_OS_MAC)
# include <OpenGL/gl.h>
#elif defined(QT_OPENGL_ES_1)
# if defined(Q_OS_MAC)
diff --git a/src/opengl/qglpaintdevice_p.h b/src/opengl/qglpaintdevice_p.h
index 241e3091c6..45992f2114 100644
--- a/src/opengl/qglpaintdevice_p.h
+++ b/src/opengl/qglpaintdevice_p.h
@@ -55,7 +55,7 @@
#include <qpaintdevice.h>
-#include <qgl.h>
+#include <QtOpenGL/qgl.h>
QT_BEGIN_NAMESPACE