build failed on Linux with x32 ABI

Serguei I. Ivantsov manowar at
Tue Jun 25 16:32:04 UTC 2013

>> +#if (NGX_HAVE_RTSIG)
>> +#include <sys/sysctl.h>
>> +#endif
>> +
>>  #include <semaphore.h>

>This probably needs to be moved to other event method related
>conditional includes

I did not find an example how and where conditionally include system
header. BTW, I just make the same way I found in ngx_linux_config.h :

#include <poll.h>

More information about the nginx-devel mailing list