diff options
Diffstat (limited to 'src/opengl/qgl.h')
-rw-r--r-- | src/opengl/qgl.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/opengl/qgl.h b/src/opengl/qgl.h index 28c56a969a..26c0025342 100644 --- a/src/opengl/qgl.h +++ b/src/opengl/qgl.h @@ -83,7 +83,11 @@ typedef GLfloat GLdouble; typedef GLfloat GLdouble; # endif #else -# include <GL/gl.h> +# if defined(Q_OS_MAC) +# include <OpenGL/gl.h> +# else +# include <GL/gl.h> +# endif #endif QT_BEGIN_NAMESPACE |