From a6195d0ad4f97662970fdfc3326facd829c801af Mon Sep 17 00:00:00 2001 From: Andrea Date: Wed, 24 Jan 2018 01:25:13 +0000 Subject: [PATCH] Update tiffgt.c for build fix on Windows --- tools/tiffgt.c | 5 +++++ 1 file changed, 5 insertions(+) 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