diff --git a/zconf.h b/zconf.h index 7f705df..ad82e3b 100644 --- a/zconf.h +++ b/zconf.h @@ -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 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 /* for SEEK_* and off_t */ # ifdef VMS 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