diff options
author | Jeff Law <law@redhat.com> | 2000-07-26 23:24:05 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 2000-07-26 23:24:05 +0000 |
commit | 967192c9d1d79493d6218abb92f1d9d82e68d014 (patch) | |
tree | 9814d2f18df0c9de94b7ee1ecab86e31e0c2c44d /libiberty/waitpid.c | |
parent | fe770478eecedd0f4a82c8d89e4c19328a41f215 (diff) | |
download | gdb-967192c9d1d79493d6218abb92f1d9d82e68d014.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
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; |