Include unistd.h for Watcom C.

This commit is contained in:
Mark Adler 2012-02-18 15:21:13 -08:00
parent a75d6ea070
commit 10fca844b1
3 changed files with 9 additions and 0 deletions

View File

@ -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 <unistd.h> /* for SEEK_* and off_t */
# ifdef VMS

View File

@ -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

View File

@ -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 <unistd.h> /* for SEEK_* and off_t */
# ifdef VMS