23 lines
460 B
Diff
Raw Normal View History

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