nghttpx: Fix compile error with --disable-threads

This commit is contained in:
Tatsuhiro Tsujikawa 2015-09-13 00:42:59 +09:00
parent b97c088e87
commit 33601f1a51
1 changed files with 2 additions and 1 deletions

View File

@ -912,8 +912,9 @@ int event_loop() {
// After that, we drop the root privileges if needed. // After that, we drop the root privileges if needed.
drop_privileges(); drop_privileges();
#ifndef NOTHREADS
int rv; int rv;
#ifndef NOTHREADS
sigset_t signals; sigset_t signals;
sigemptyset(&signals); sigemptyset(&signals);
sigaddset(&signals, REOPEN_LOG_SIGNAL); sigaddset(&signals, REOPEN_LOG_SIGNAL);