aboutsummaryrefslogtreecommitdiff
path: root/gdb/nat/linux-namespaces.c
diff options
context:
space:
mode:
authorGary Benson <gbenson@redhat.com>2015-06-11 10:58:41 +0100
committerGary Benson <gbenson@redhat.com>2015-06-11 10:58:41 +0100
commit198c808c87eac2d4605962c2f19191c8ca24d268 (patch)
treeda24642f213fc9511278104456b38e68168863c4 /gdb/nat/linux-namespaces.c
parent970cdef2612b098b457345025a08aba800991722 (diff)
downloadgdb-198c808c87eac2d4605962c2f19191c8ca24d268.zip
gdb-198c808c87eac2d4605962c2f19191c8ca24d268.tar.gz
gdb-198c808c87eac2d4605962c2f19191c8ca24d268.tar.bz2
Fix ARI warning in linux-namespaces.c
This commit fixes the following ARI warning: gdb/nat/linux-namespaces.c:28: regression: Do not include wait.h or sys/wait.h, instead include gdb_wait.h gdb/ChangeLog: * nat/linux-namespaces.c (gdb_wait.h): New include. (sys/wait.h): Do not include.
Diffstat (limited to 'gdb/nat/linux-namespaces.c')
-rw-r--r--gdb/nat/linux-namespaces.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/nat/linux-namespaces.c b/gdb/nat/linux-namespaces.c
index f710c03..98ae104 100644
--- a/gdb/nat/linux-namespaces.c
+++ b/gdb/nat/linux-namespaces.c
@@ -25,7 +25,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/socket.h>
-#include <sys/wait.h>
+#include "gdb_wait.h"
#include <signal.h>
#include <sched.h>