a5f74df5a682fa3c4e9a2a11649ee9fd0f5077b5
[mono.git] / bockbuild / mac-sdk / patches / tiff-4.0.2-macosx-2.patch
1 diff --git a/libs/tiff-4.0.2/tools/tiffgt.c b/libs/tiff-4.0.2/tools/tiffgt.c
2 index de42039..4c8e509 100644
3 --- a/tools/tiffgt.c
4 +++ b/tools/tiffgt.c
5 @@ -31,11 +31,16 @@
6  #include <string.h>
7  #include <unistd.h>
8
9 -#if HAVE_APPLE_OPENGL_FRAMEWORK
10 +#if HAVE_OPENGL_GL_H
11  # include <OpenGL/gl.h>
12 +#endif
13 +#if HAVE_GLUT_GLUT_H
14  # include <GLUT/glut.h>
15 -#else
16 +#endif
17 +#if HAVE_GL_GL_H
18  # include <GL/gl.h>
19 +#endif
20 +#if HAVE_GL_GLUT_H
21  # include <GL/glut.h>
22  #endif