summaryrefslogtreecommitdiff
path: root/zconf.h.cmakein
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2012-02-18 15:21:13 -0800
committerMark Adler <madler@alumni.caltech.edu>2012-02-18 15:37:37 -0800
commit10fca844b1454ee19e28400a8267f72b0cccb591 (patch)
tree7108291ac770be2d0f544ddbf024deed5306fce0 /zconf.h.cmakein
parenta75d6ea070cedd3afa9865e63127c7ee8946d605 (diff)
downloadzlib-10fca844b1454ee19e28400a8267f72b0cccb591.tar.gz
Include unistd.h for Watcom C.
Diffstat (limited to 'zconf.h.cmakein')
-rw-r--r--zconf.h.cmakein3
1 files changed, 3 insertions, 0 deletions
diff --git a/zconf.h.cmakein b/zconf.h.cmakein
index 9510eab..6f964b8 100644
--- a/zconf.h.cmakein
+++ b/zconf.h.cmakein
@@ -415,6 +415,9 @@ typedef uLong FAR uLongf;
# define Z_LARGE
#endif
+#if defined(__WATCOM__) && !defined(Z_HAVE_UNISTD_H)
+# define Z_HAVE_UNISTD_H
+#endif
#if (defined(Z_HAVE_UNISTD_H) || defined(Z_LARGE)) && !defined(Z_SOLO)
# include <unistd.h> /* for SEEK_* and off_t */
# ifdef VMS