summaryrefslogtreecommitdiffstats
path: root/common/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/signal.c')
-rw-r--r--common/signal.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/signal.c b/common/signal.c
index 98859a43d..2147dacab 100644
--- a/common/signal.c
+++ b/common/signal.c
@@ -21,7 +21,9 @@
#include <config.h>
#include <stdio.h>
#include <stdlib.h>
-#include <signal.h>
+#ifdef HAVE_SIGNAL_H
+# include <signal.h>
+#endif
#include <unistd.h>
#include <string.h>
#include <errno.h>