From 391cc8bb552a6c4d616d786fd710c38fc41162cb Mon Sep 17 00:00:00 2001 From: tgoodwin Date: Fri, 24 Jul 1998 13:28:13 +0000 Subject: sort out includes of --- proto.h | 4 ---- system-bsd.c | 3 +++ wait.c | 3 +++ 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/proto.h b/proto.h index f712f9e..fe44510 100644 --- a/proto.h +++ b/proto.h @@ -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 -#endif - #if HAVE_UNISTD_H #include #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 + +#if HAVE_SYS_WAIT_H #include +#endif #include "rc.h" #include "jbwrap.h" 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 + +#if HAVE_SYS_WAIT_H #include +#endif bool forked = FALSE; -- cgit v1.2.3