* 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 f174778d0d99d1ae1b9528067548cdf2e98331c5..40ceae66d7019e2f6ef2e3145f83024ced395376 100644 (file)
@@ -1,3 +1,8 @@
+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
index d3c8705d769b167dc8991dfe025a4c668bc94924..1f9a00188a45285eeba5f338abdb865005bbbc16 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.  */