aboutsummaryrefslogtreecommitdiff
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
zlib-10fca844b1454ee19e28400a8267f72b0cccb591.tar.bz2
zlib-10fca844b1454ee19e28400a8267f72b0cccb591.zip
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;
415# define Z_LARGE 415# define Z_LARGE
416#endif 416#endif
417 417
418#if defined(__WATCOM__) && !defined(Z_HAVE_UNISTD_H)
419# define Z_HAVE_UNISTD_H
420#endif
418#if (defined(Z_HAVE_UNISTD_H) || defined(Z_LARGE)) && !defined(Z_SOLO) 421#if (defined(Z_HAVE_UNISTD_H) || defined(Z_LARGE)) && !defined(Z_SOLO)
419# include <unistd.h> /* for SEEK_* and off_t */ 422# include <unistd.h> /* for SEEK_* and off_t */
420# ifdef VMS 423# ifdef VMS