Skip to content
Snippets Groups Projects
Commit 4736411c authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

gmshPopplerWrapper.h : GL/gl.h include for other platforms than OS X

parent 3d3c3635
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,11 @@ ...@@ -15,7 +15,11 @@
#include <poppler/cpp/poppler-page.h> #include <poppler/cpp/poppler-page.h>
#include <poppler/cpp/poppler-image.h> #include <poppler/cpp/poppler-image.h>
#if defined(HAVE_OPENGL) #if defined(HAVE_OPENGL)
#include<OpenGL/gl.h> # if defined(__APPLE__) || defined(HAVE_OPENGL_GL_H)
# include <OpenGL/gl.h>
# else
# include <GL/gl.h>
# endif
#endif #endif
class gmshPopplerWrapper { class gmshPopplerWrapper {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment