aboutsummaryrefslogtreecommitdiff
path: root/libiberty/waitpid.c
diff options
context:
space:
mode:
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;