nghttpx: Fix compile error with --disable-threads
This commit is contained in:
parent
b97c088e87
commit
33601f1a51
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue