aboutsummaryrefslogtreecommitdiffstats
path: root/src/sig_handlers.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-08 10:49:29 +0200
committerMax Kellermann <max@duempel.org>2008-10-08 10:49:29 +0200
commit71351160b1b6fd4203f27f9159ae39a476483e1a (patch)
tree03d42cd94df49372c3ac05034eb6e1e0f91d3077 /src/sig_handlers.c
parentca68b1c80a29cb4862c6b732b339a5cbcfcecf51 (diff)
downloadmpd-71351160b1b6fd4203f27f9159ae39a476483e1a.tar.gz
mpd-71351160b1b6fd4203f27f9159ae39a476483e1a.tar.xz
mpd-71351160b1b6fd4203f27f9159ae39a476483e1a.zip
don't include os_compat.h
When there are standardized headers, use these instead of the bloated os_compat.h.
Diffstat (limited to '')
-rw-r--r--src/sig_handlers.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sig_handlers.c b/src/sig_handlers.c
index 854188c51..57b216e8a 100644
--- a/src/sig_handlers.c
+++ b/src/sig_handlers.c
@@ -25,6 +25,10 @@
#include "signal_check.h"
#include "log.h"
+#include <sys/signal.h>
+#include <sys/wait.h>
+#include <errno.h>
+
int handlePendingSignals(void)
{
if (signal_is_pending(SIGINT) || signal_is_pending(SIGTERM)) {