diff options
| -rw-r--r-- | proto.h | 4 | ||||
| -rw-r--r-- | system-bsd.c | 3 | ||||
| -rw-r--r-- | wait.c | 3 |
3 files changed, 6 insertions, 4 deletions
@@ -52,10 +52,6 @@ extern void qsort(void *, size_t, size_t, int (*)(const void *, const void *)); #endif /* STDC_HEADERS */ -#if HAVE_SYS_WAIT_H -#include <sys/wait.h> -#endif - #if HAVE_UNISTD_H #include <unistd.h> #endif 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" @@ -1,7 +1,10 @@ #include "rc.h" #include <errno.h> + +#if HAVE_SYS_WAIT_H #include <sys/wait.h> +#endif bool forked = FALSE; |