diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-07-26 23:23:24 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-07-26 23:23:24 +0000 |
commit | a1d4f79a96eef8097e4f6c3315a6195adc0406d7 (patch) | |
tree | 38e19c2b4f1cdb4ed784b4496b8058696ee32924 /libiberty/waitpid.c | |
parent | 8e1b28268cedb4d354e4b7ad24bfd513cdf9e6d1 (diff) | |
download | gcc-a1d4f79a96eef8097e4f6c3315a6195adc0406d7.tar.gz |
* 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
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35272 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/waitpid.c')
-rw-r--r-- | libiberty/waitpid.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libiberty/waitpid.c b/libiberty/waitpid.c index 23db0b932d2..2848309826a 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 <sys/wait.h> +#endif + int waitpid (pid, stat_loc, options) int pid, *stat_loc, options; |