FS-4649: --resolve fix ifdefs for opengl headers

This commit is contained in:
Michael Jerris 2012-11-15 08:39:10 -05:00
parent 4b96a8b2e5
commit a9017b4d4d
1 changed files with 7 additions and 2 deletions

View File

@ -31,11 +31,16 @@
#include <string.h>
#include <unistd.h>
#if HAVE_APPLE_OPENGL_FRAMEWORK
#if HAVE_OPENGL_GL_H
# include <OpenGL/gl.h>
#endif
#if HAVE_GLUT_GLUT_H
# include <GLUT/glut.h>
#else
#endif
#if HAVE_GL_GL_H
# include <GL/gl.h>
#endif
#if HAVE_GL_GLUT_H
# include <GL/glut.h>
#endif