summaryrefslogtreecommitdiff
path: root/zlib
diff options
context:
space:
mode:
Diffstat (limited to 'zlib')
-rw-r--r--zlib/zconf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/zlib/zconf.h b/zlib/zconf.h
index 02ce56c43..0e20e568e 100644
--- a/zlib/zconf.h
+++ b/zlib/zconf.h
@@ -356,6 +356,10 @@ typedef uLong FAR uLongf;
typedef Byte *voidp;
#endif
+#if !(defined(WINDOWS) || defined(WIN32))
+# define HAVE_UNISTD_H
+#endif
+
#ifdef HAVE_UNISTD_H /* may be set to #if 1 by ./configure */
# define Z_HAVE_UNISTD_H
#endif