X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=zconf.h;h=d3eaf9187e63bb7477f4fea87781a91837208c04;hb=7147f24cd7b27dd95f6e841851a111cb311a9c07;hp=6ad8a04edaeefc1cb25678a8525664a12778b591;hpb=05d47d2627a68a15ba23fb10b17fbc73551aeec1;p=zlib.git diff --git a/zconf.h b/zconf.h index 6ad8a04..d3eaf91 100644 --- a/zconf.h +++ b/zconf.h @@ -364,8 +364,11 @@ typedef uLong FAR uLongf; # define Z_HAVE_UNISTD_H #endif -#if defined(Z_HAVE_UNISTD_H) || _LARGEFILE64_SOURCE == 1 +#ifdef STDC # include /* for off_t */ +#endif + +#if defined(Z_HAVE_UNISTD_H) || _LARGEFILE64_SOURCE # include /* for SEEK_* and off_t */ # ifdef VMS # include /* for off_t */