summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2024-02-11 08:40:38 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2024-02-11 08:40:38 +0000
commit4ef3292000f7f8238eaddac49593de8067d9ec33 (patch)
treef1e2d6645f3bd1a9a8ee6b8b83dc51a3003567ff
parent881244bbae69e10ed8bc161259f2dc7c61ec031f (diff)
sync with src
-rw-r--r--sys/lib/libz/zconf.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/lib/libz/zconf.h b/sys/lib/libz/zconf.h
index e588e8de90b..973c03088c9 100644
--- a/sys/lib/libz/zconf.h
+++ b/sys/lib/libz/zconf.h
@@ -472,12 +472,8 @@ typedef uLong FAR uLongf;
#endif
#ifndef Z_HAVE_UNISTD_H
-# ifdef __WATCOMC__
-# define Z_HAVE_UNISTD_H
-# endif
-#endif
-#ifndef Z_HAVE_UNISTD_H
-# if defined(_LARGEFILE64_SOURCE) && !defined(_WIN32)
+# if defined(__WATCOMC__) || defined(__GO32__) || \
+ (defined(_LARGEFILE64_SOURCE) && !defined(_WIN32))
# define Z_HAVE_UNISTD_H
# endif
#endif