aboutsummaryrefslogtreecommitdiff
path: root/gdb/infptrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/infptrace.c')
-rw-r--r--gdb/infptrace.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/gdb/infptrace.c b/gdb/infptrace.c
index d8463e6..fb0373a 100644
--- a/gdb/infptrace.c
+++ b/gdb/infptrace.c
@@ -25,16 +25,7 @@
#include "target.h"
#include "gdb_string.h"
-#ifdef HAVE_WAIT_H
-#include <wait.h>
-#else
-#ifdef HAVE_SYS_WAIT_H
-#include <sys/wait.h>
-#endif
-#endif
-
-/* "wait.h" fills in the gaps left by <wait.h> */
-#include "wait.h" /* NOTE: This is ../include/wait.h */
+#include "gdb_wait.h"
#include "command.h"