summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--thirdparty/libz/gzguts.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/thirdparty/libz/gzguts.h b/thirdparty/libz/gzguts.h
index d87659d0..fb919855 100644
--- a/thirdparty/libz/gzguts.h
+++ b/thirdparty/libz/gzguts.h
@@ -3,6 +3,8 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/
+#include <unistd.h>
+
#ifdef _LARGEFILE64_SOURCE
# ifndef _LARGEFILE_SOURCE
# define _LARGEFILE_SOURCE 1