summaryrefslogtreecommitdiff
path: root/thirdparty/libz
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-12-31 14:54:59 +0100
committerEven Rouault <even.rouault@spatialys.com>2020-12-31 14:54:59 +0100
commit2519439d7d4d0e51abf479afe73f30b1c7c70530 (patch)
tree54349e16f874a21bf35d4d2e8fa8c09d8c3780bf /thirdparty/libz
parent433edd0eea934e25f6e97aaf912ebed191fa41d1 (diff)
Fix Windows build
Diffstat (limited to 'thirdparty/libz')
-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 fb919855..2c1a1bb7 100644
--- a/thirdparty/libz/gzguts.h
+++ b/thirdparty/libz/gzguts.h
@@ -3,7 +3,9 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/
+#ifndef _WIN32
#include <unistd.h>
+#endif
#ifdef _LARGEFILE64_SOURCE
# ifndef _LARGEFILE_SOURCE