summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--thirdparty/libtiff/tiffconf.h.cmake.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/thirdparty/libtiff/tiffconf.h.cmake.in b/thirdparty/libtiff/tiffconf.h.cmake.in
index 53a66d41..177c3010 100644
--- a/thirdparty/libtiff/tiffconf.h.cmake.in
+++ b/thirdparty/libtiff/tiffconf.h.cmake.in
@@ -11,6 +11,9 @@
#if defined( HAVE_STDINT_H )
#include <stdint.h>
#endif
+#if defined( HAVE_UNISTD_H )
+#include <unistd.h>
+#endif
/* Define as 0 or 1 according to the floating point format suported by the
machine */