Mercurial > hg > nginx
diff src/core/ngx_string.c @ 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 | 814541b2ec23 |
children | 670ceaba03d8 |