annotate 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 |
|
rev |
line source |
503
|
1 --- zlib.h Thu Jul 9 20:06:56 1998
|
|
2 +++ zlib-1.1.3/zlib.h Tue Mar 22 13:41:04 2005
|
|
3 @@ -709,7 +709,6 @@
|
|
4 (0 in case of error).
|
|
5 */
|
|
6
|
|
7 -ZEXTERN int ZEXPORTVA gzprintf OF((gzFile file, const char *format, ...));
|
|
8 /*
|
|
9 Converts, formats, and writes the args to the compressed file under
|
|
10 control of the format string, as in fprintf. gzprintf returns the number of
|