From a6458d1dddddd3501ffc2a8e9e4ff02c9266c6da Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Thu, 19 Nov 1998 10:05:03 +0000 Subject: configure.in: Call AC_HEADER_SYS_WAIT. * configure.in: Call AC_HEADER_SYS_WAIT. * pexecute.c: Include sys/wait.h when !IN_GCC. From-SVN: r23711 --- libiberty/pexecute.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libiberty/pexecute.c') diff --git a/libiberty/pexecute.c b/libiberty/pexecute.c index eb1a57daa57..94fb2484966 100644 --- a/libiberty/pexecute.c +++ b/libiberty/pexecute.c @@ -35,6 +35,9 @@ Boston, MA 02111-1307, USA. */ #include #endif #define ISSPACE (x) isspace(x) +#ifdef HAVE_SYS_WAIT_H +#include +#endif #endif #ifdef vfork /* Autoconf may define this to fork for us. */ -- cgit v1.2.1