summaryrefslogtreecommitdiff
path: root/zconf.h
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2011-09-09 23:25:38 -0700
committerMark Adler <madler@alumni.caltech.edu>2011-09-09 23:25:38 -0700
commitd6231142d2b883a8c3b253fa34992b5cdb4ac2fe (patch)
tree74e07c6ca624264cec9284e25dfd11bd8f877801 /zconf.h
parentb1c19ca6d82c98a8be6cd9cad7a9c5fa5e8e634e (diff)
downloadzlib-d6231142d2b883a8c3b253fa34992b5cdb4ac2fe.tar.gz
zlib 1.2.3.2v1.2.3.2
Diffstat (limited to 'zconf.h')
-rw-r--r--zconf.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/zconf.h b/zconf.h
index 5619c76..0a9f5a4 100644
--- a/zconf.h
+++ b/zconf.h
@@ -351,14 +351,8 @@ typedef uLong FAR uLongf;
typedef Byte *voidp;
#endif
-#if 0 /* HAVE_UNISTD_H -- this line is updated by ./configure */
-# include <sys/types.h> /* for off_t */
-# include <unistd.h> /* for SEEK_* and off_t */
-# ifdef VMS
-# include <unixio.h> /* for off_t */
-# endif
-# define z_off_t off_t
-#endif
+#include "zlibdefs.h" /* created by configure */
+
#ifndef SEEK_SET
# define SEEK_SET 0 /* Seek from beginning of file. */
# define SEEK_CUR 1 /* Seek from current position. */