From 10fca844b1454ee19e28400a8267f72b0cccb591 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Sat, 18 Feb 2012 15:21:13 -0800 Subject: Include unistd.h for Watcom C. --- zconf.h.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'zconf.h.in') diff --git a/zconf.h.in b/zconf.h.in index 7f705df..ad82e3b 100644 --- a/zconf.h.in +++ b/zconf.h.in @@ -413,6 +413,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 /* for SEEK_* and off_t */ # ifdef VMS -- cgit v1.2.3-55-g6feb