From: tb Date: Sun, 11 Feb 2024 08:40:37 +0000 (+0000) Subject: sync with src X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=634073900323bdd83ca3b5eb0732098812c0aa24;p=openbsd sync with src --- 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