aboutsummaryrefslogtreecommitdiff
path: root/libiberty/waitpid.c
diff options
context:
space:
mode:
authorRodney Brown <RodneyBrown@pmsc.com>2000-07-26 17:23:24 -0600
committerJeff Law <law@gcc.gnu.org>2000-07-26 17:23:24 -0600
commitc2f275e484523e8a63d6751473d59c6fc63e0f74 (patch)
tree38e19c2b4f1cdb4ed784b4496b8058696ee32924 /libiberty/waitpid.c
parentc6a8e61614d29a41eab8b5d6e407c31930408985 (diff)
downloadgcc-c2f275e484523e8a63d6751473d59c6fc63e0f74.zip
gcc-c2f275e484523e8a63d6751473d59c6fc63e0f74.tar.gz
gcc-c2f275e484523e8a63d6751473d59c6fc63e0f74.tar.bz2
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 <law@cygnus.com> From-SVN: r35272
Diffstat (limited to 'libiberty/waitpid.c')
-rw-r--r--libiberty/waitpid.c7
1 files changed, 7 insertions, 0 deletions
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 <sys/wait.h>
+#endif
+
int
waitpid (pid, stat_loc, options)
int pid, *stat_loc, options;