summaryrefslogtreecommitdiff
path: root/wait.c
diff options
context:
space:
mode:
Diffstat (limited to 'wait.c')
-rw-r--r--wait.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/wait.c b/wait.c
index b53df71..668eb9b 100644
--- a/wait.c
+++ b/wait.c
@@ -1,7 +1,10 @@
#include "rc.h"
#include <errno.h>
+
+#if HAVE_SYS_WAIT_H
#include <sys/wait.h>
+#endif
bool forked = FALSE;