event/SignalMonitor: fix build failure due to missing signal.h include

This commit is contained in:
Max Kellermann 2014-03-02 10:21:31 +01:00
parent d34ae0850c
commit 0102a8665a
2 changed files with 3 additions and 0 deletions

1
NEWS
View File

@ -7,6 +7,7 @@ ver 0.18.9 (not yet released)
- vorbis: fix another linker failure - vorbis: fix another linker failure
* output * output
- pipe: fix hanging child process due to blocked signals - pipe: fix hanging child process due to blocked signals
* fix build failure due to missing signal.h include
ver 0.18.8 (2014/02/07) ver 0.18.8 (2014/02/07)
* decoder * decoder

View File

@ -43,6 +43,8 @@
#include <pthread.h> #include <pthread.h>
#endif #endif
#include <signal.h>
class SignalMonitor final : private SocketMonitor { class SignalMonitor final : private SocketMonitor {
#ifdef USE_SIGNALFD #ifdef USE_SIGNALFD
SignalFD fd; SignalFD fd;