summaryrefslogtreecommitdiff
path: root/system-bsd.c
diff options
context:
space:
mode:
authortgoodwin <tgoodwin>1998-07-24 13:28:13 +0000
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:23:10 +0100
commit391cc8bb552a6c4d616d786fd710c38fc41162cb (patch)
tree6783ba7faee41586ac6bceac1b2e5cea8458a85f /system-bsd.c
parent16dd2a3cd044f84a8c4f51579b513c76b24871a8 (diff)
sort out includes of <sys/wait.h>
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"