patch provided 3rdparty zlib to work with MacOS
authorAntonin Descampe <antonin@descampe.net>
Thu, 31 Dec 2020 10:06:28 +0000 (11:06 +0100)
committerAntonin Descampe <antonin@descampe.net>
Thu, 31 Dec 2020 10:06:28 +0000 (11:06 +0100)
thirdparty/libz/gzguts.h

index d87659d0319fa36db9f59ea62124bd28207ef9ae..fb9198550728f04ba4bbec3b610f09c3f1a8e343 100644 (file)
@@ -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