summaryrefslogtreecommitdiff
path: root/gdb/infptrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/infptrace.c')
-rw-r--r--gdb/infptrace.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/infptrace.c b/gdb/infptrace.c
index a21eaa17f99..8984b0c6829 100644
--- a/gdb/infptrace.c
+++ b/gdb/infptrace.c
@@ -24,13 +24,10 @@
#include "inferior.h"
#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
+#include "wait.h" /* NOTE: This is ../include/wait.h */
#include "command.h"
#ifdef USG