diff --git a/src/OpenGl/OpenGl_GlCore11.hxx b/src/OpenGl/OpenGl_GlCore11.hxx index cca428a0f1..3aa3137a20 100644 --- a/src/OpenGl/OpenGl_GlCore11.hxx +++ b/src/OpenGl/OpenGl_GlCore11.hxx @@ -45,8 +45,10 @@ #define GL_GLEXT_LEGACY // include main OpenGL header provided with system -#if defined(__APPLE__) && !defined(MACOSX_USE_GLX) +#if defined(__APPLE__) #include + #include + #define __X_GL_H // prevent chaotic gl.h inclusions to avoid compile errors #else #include #include