diff options
Diffstat (limited to 'libiberty/pexecute.c')
-rw-r--r-- | libiberty/pexecute.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 <unistd.h> #endif #define ISSPACE (x) isspace(x) +#ifdef HAVE_SYS_WAIT_H +#include <sys/wait.h> +#endif #endif #ifdef vfork /* Autoconf may define this to fork for us. */ |