From cb2f9b483a09d9b2f122272a1a30857bdb4ec19e Mon Sep 17 00:00:00 2001 From: tgoodwin Date: Fri, 24 Jul 1998 16:00:13 +0000 Subject: get the stuff right this time --- proto.h | 3 +++ system-bsd.c | 4 ---- wait.c | 4 ---- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/proto.h b/proto.h index fe44510..d8a8178 100644 --- a/proto.h +++ b/proto.h @@ -56,6 +56,9 @@ extern void qsort(void *, size_t, size_t, int (*)(const void *, const void *)); #include #endif +#if HAVE_SYS_WAIT_H +#include +#endif /* Fake the POSIX wait() macros if we don't have them. */ #ifndef WIFEXITED diff --git a/system-bsd.c b/system-bsd.c index 331079f..c098d86 100644 --- a/system-bsd.c +++ b/system-bsd.c @@ -3,10 +3,6 @@ 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 668eb9b..258ba68 100644 --- a/wait.c +++ b/wait.c @@ -2,10 +2,6 @@ #include -#if HAVE_SYS_WAIT_H -#include -#endif - bool forked = FALSE; typedef struct Pid Pid; -- cgit v1.2.3