Xamarin Public Jenkins (auto-signing) 6bdd276d05 Imported Upstream version 5.0.0.42
Former-commit-id: fd56571888259555122d8a0f58c68838229cea2b
2017-04-10 11:41:01 +00:00

23 lines
460 B
Diff

diff --git a/libs/tiff-4.0.2/tools/tiffgt.c b/libs/tiff-4.0.2/tools/tiffgt.c
index de42039..4c8e509 100644
--- a/tools/tiffgt.c
+++ b/tools/tiffgt.c
@@ -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