From a1d4f79a96eef8097e4f6c3315a6195adc0406d7 Mon Sep 17 00:00:00 2001 From: law Date: Wed, 26 Jul 2000 23:23:24 +0000 Subject: * 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 --- 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 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 +#endif + int waitpid (pid, stat_loc, options) int pid, *stat_loc, options; -- cgit v1.2.1