summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonin Descampe <antonin@descampe.net>2020-12-31 11:06:28 +0100
committerAntonin Descampe <antonin@descampe.net>2020-12-31 11:06:28 +0100
commit433edd0eea934e25f6e97aaf912ebed191fa41d1 (patch)
tree0f2f5e0388e100fd8dc9273fdda760eaf28ea282
parent4db0c8d5aef53dd6eebc730e5a189cf9bf9bae6c (diff)
patch provided 3rdparty zlib to work with MacOS
-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