* common/linux-btrace.c: ARI fix: Include "gdb_wait.h"
authorPierre Muller <muller@sourceware.org>
Tue, 7 May 2013 13:04:58 +0000 (13:04 +0000)
committerPierre Muller <muller@sourceware.org>
Tue, 7 May 2013 13:04:58 +0000 (13:04 +0000)
instead of <sys/wait.h>.

gdb/ChangeLog
gdb/common/linux-btrace.c

index f174778..40ceae6 100644 (file)
@@ -1,5 +1,10 @@
 2013-05-07  Pierre Muller  <muller@sourceware.org>
 
+       * common/linux-btrace.c: ARI fix: Include "gdb_wait.h"
+       instead of <sys/wait.h>.
+
+2013-05-07  Pierre Muller  <muller@sourceware.org>
+
        * nios2-tdep.c (nios2_dwarf_reg_to_regnum): ARI fix: remove
        trailing new line from warning message.
 
index d3c8705..1f9a001 100644 (file)
@@ -30,6 +30,7 @@
 #include "gdb_assert.h"
 #include "regcache.h"
 #include "gdbthread.h"
+#include "gdb_wait.h"
 
 #if HAVE_LINUX_PERF_EVENT_H
 
@@ -42,7 +43,6 @@
 #include <sys/user.h>
 #include <sys/ptrace.h>
 #include <sys/types.h>
-#include <sys/wait.h>
 #include <signal.h>
 
 /* A branch trace record in perf_event.  */