From c2f275e484523e8a63d6751473d59c6fc63e0f74 Mon Sep 17 00:00:00 2001 From: Rodney Brown Date: Wed, 26 Jul 2000 17:23:24 -0600 Subject: Makefile.in (rename.o, waitpid.o): Depend on config.h * Makefile.in (rename.o, waitpid.o): Depend on config.h * rename.c: include config.h, unistd.h * waitpid.c: include config.h, sys/wait.h Co-Authored-By: Jeffrey A Law From-SVN: r35272 --- libiberty/waitpid.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libiberty/waitpid.c') diff --git a/libiberty/waitpid.c b/libiberty/waitpid.c index 23db0b9..2848309 100644 --- a/libiberty/waitpid.c +++ b/libiberty/waitpid.c @@ -1,3 +1,10 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif +#ifdef HAVE_SYS_WAIT_H +#include +#endif + int waitpid (pid, stat_loc, options) int pid, *stat_loc, options; -- cgit v1.1