summaryrefslogtreecommitdiff
path: root/zconf.h
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2011-09-09 23:18:57 -0700
committerMark Adler <madler@alumni.caltech.edu>2011-09-09 23:18:57 -0700
commit6759211ad8a5006689216a86c3267bb503bfccc1 (patch)
treedc0f61f4c4a44828ad7d30e376ef21840b137f44 /zconf.h
parent7850e4e406dce1f7a819297eeb151d1ca18e7cd9 (diff)
downloadzlib-6759211ad8a5006689216a86c3267bb503bfccc1.tar.gz
zlib 1.0.8v1.0.8
Diffstat (limited to 'zconf.h')
-rw-r--r--zconf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/zconf.h b/zconf.h
index d95edb6..7bc054f 100644
--- a/zconf.h
+++ b/zconf.h
@@ -186,7 +186,8 @@ typedef uLong FAR uLongf;
#endif
#ifdef HAVE_UNISTD_H
-# include <unistd.h> /* for SEEK_* and off_t */
+# include <sys/types.h> /* for off_t */
+# include <unistd.h> /* for SEEK_* and off_t */
# define z_off_t off_t
#endif
#ifndef SEEK_SET