projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Makefile.in (rename.o, waitpid.o): Depend on config.h
[binutils-gdb.git]
/
libiberty
/
waitpid.c
diff --git
a/libiberty/waitpid.c
b/libiberty/waitpid.c
index 23db0b932d2e2c9d5d6b9b3a561e420e04ac54b9..2848309826a83f0735f0a85eb0521c5d8a135762 100644
(file)
--- 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;