aboutsummaryrefslogtreecommitdiffstats
path: root/src/sig_handlers.c
diff options
context:
space:
mode:
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)) {