diff options
Diffstat (limited to '')
-rw-r--r-- | zconf.h | 5 | ||||
-rw-r--r-- | zconf.h.cmakein | 5 | ||||
-rw-r--r-- | zconf.h.in | 5 |
3 files changed, 12 insertions, 3 deletions
@@ -364,8 +364,11 @@ typedef uLong FAR uLongf; | |||
364 | # define Z_HAVE_UNISTD_H | 364 | # define Z_HAVE_UNISTD_H |
365 | #endif | 365 | #endif |
366 | 366 | ||
367 | #if defined(Z_HAVE_UNISTD_H) || _LARGEFILE64_SOURCE == 1 | 367 | #ifdef STDC |
368 | # include <sys/types.h> /* for off_t */ | 368 | # include <sys/types.h> /* for off_t */ |
369 | #endif | ||
370 | |||
371 | #if defined(Z_HAVE_UNISTD_H) || _LARGEFILE64_SOURCE | ||
369 | # include <unistd.h> /* for SEEK_* and off_t */ | 372 | # include <unistd.h> /* for SEEK_* and off_t */ |
370 | # ifdef VMS | 373 | # ifdef VMS |
371 | # include <unixio.h> /* for off_t */ | 374 | # include <unixio.h> /* for off_t */ |
diff --git a/zconf.h.cmakein b/zconf.h.cmakein index fcd5710..bbe25a7 100644 --- a/zconf.h.cmakein +++ b/zconf.h.cmakein | |||
@@ -366,8 +366,11 @@ typedef uLong FAR uLongf; | |||
366 | # define Z_HAVE_UNISTD_H | 366 | # define Z_HAVE_UNISTD_H |
367 | #endif | 367 | #endif |
368 | 368 | ||
369 | #if defined(Z_HAVE_UNISTD_H) || _LARGEFILE64_SOURCE == 1 | 369 | #ifdef STDC |
370 | # include <sys/types.h> /* for off_t */ | 370 | # include <sys/types.h> /* for off_t */ |
371 | #endif | ||
372 | |||
373 | #if defined(Z_HAVE_UNISTD_H) || _LARGEFILE64_SOURCE | ||
371 | # include <unistd.h> /* for SEEK_* and off_t */ | 374 | # include <unistd.h> /* for SEEK_* and off_t */ |
372 | # ifdef VMS | 375 | # ifdef VMS |
373 | # include <unixio.h> /* for off_t */ | 376 | # include <unixio.h> /* for off_t */ |
@@ -364,8 +364,11 @@ typedef uLong FAR uLongf; | |||
364 | # define Z_HAVE_UNISTD_H | 364 | # define Z_HAVE_UNISTD_H |
365 | #endif | 365 | #endif |
366 | 366 | ||
367 | #if defined(Z_HAVE_UNISTD_H) || _LARGEFILE64_SOURCE == 1 | 367 | #ifdef STDC |
368 | # include <sys/types.h> /* for off_t */ | 368 | # include <sys/types.h> /* for off_t */ |
369 | #endif | ||
370 | |||
371 | #if defined(Z_HAVE_UNISTD_H) || _LARGEFILE64_SOURCE | ||
369 | # include <unistd.h> /* for SEEK_* and off_t */ | 372 | # include <unistd.h> /* for SEEK_* and off_t */ |
370 | # ifdef VMS | 373 | # ifdef VMS |
371 | # include <unixio.h> /* for off_t */ | 374 | # include <unixio.h> /* for off_t */ |