summaryrefslogtreecommitdiff
path: root/zconf.h.in
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--zconf.h.in (renamed from zconf.h)6
1 files changed, 6 insertions, 0 deletions
diff --git a/zconf.h b/zconf.h.in
index 71a41ad..eec8ab0 100644
--- a/zconf.h
+++ b/zconf.h.in
@@ -7,6 +7,8 @@
7 7
8#ifndef ZCONF_H 8#ifndef ZCONF_H
9#define ZCONF_H 9#define ZCONF_H
10#cmakedefine Z_PREFIX
11#cmakedefine Z_HAVE_UNISTD_H
10 12
11/* 13/*
12 * If you *really* need a unique prefix for all types and library functions, 14 * If you *really* need a unique prefix for all types and library functions,
@@ -361,6 +363,10 @@ typedef uLong FAR uLongf;
361#endif 363#endif
362 364
363#ifdef HAVE_UNISTD_H /* may be set to #if 1 by ./configure */ 365#ifdef HAVE_UNISTD_H /* may be set to #if 1 by ./configure */
366# define Z_HAVE_UNISTD_H
367#endif
368
369#ifdef Z_HAVE_UNISTD_H
364# include <sys/types.h> /* for off_t */ 370# include <sys/types.h> /* for off_t */
365# include <unistd.h> /* for SEEK_* and off_t */ 371# include <unistd.h> /* for SEEK_* and off_t */
366# ifdef VMS 372# ifdef VMS