diff --git a/tools/tiffgt.c b/tools/tiffgt.c index 245a2b45..5991d309 100644 --- a/tools/tiffgt.c +++ b/tools/tiffgt.c @@ -27,11 +27,16 @@ #include #include #include +#if HAVE_UNISTD_H #include +#endif #ifdef HAVE_OPENGL_GL_H # include #else +# ifdef _WIN32 +# include +# endif # include #endif #ifdef HAVE_GLUT_GLUT_H