Mercurial > hg > nginx
view auto/lib/zlib/patch.zlib.h @ 5255:7f4ec5bfb715
Fixed build on Linux with x32 ABI.
On Linux x32 inclusion of sys/sysctl.h produces an error. As sysctl() is
only used by rtsig event method code, which is legacy and not compiled
in by default on modern linuxes, the sys/sysctl.h file now only included
if rtsig support is enabled.
Based on patch by Serguei I. Ivantsov.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 26 Jun 2013 15:47:27 +0400 |
parents | b1648294f693 |
children |
line wrap: on
line source
--- zlib.h Thu Jul 9 20:06:56 1998 +++ zlib-1.1.3/zlib.h Tue Mar 22 13:41:04 2005 @@ -709,7 +709,6 @@ (0 in case of error). */ -ZEXTERN int ZEXPORTVA gzprintf OF((gzFile file, const char *format, ...)); /* Converts, formats, and writes the args to the compressed file under control of the format string, as in fprintf. gzprintf returns the number of