summaryrefslogtreecommitdiff
path: root/system-bsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'system-bsd.c')
-rw-r--r--system-bsd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/system-bsd.c b/system-bsd.c
index 2980193..331079f 100644
--- a/system-bsd.c
+++ b/system-bsd.c
@@ -2,7 +2,10 @@
allows partial writes */
#include <errno.h>
+
+#if HAVE_SYS_WAIT_H
#include <sys/wait.h>
+#endif
#include "rc.h"
#include "jbwrap.h"