From 198c808c87eac2d4605962c2f19191c8ca24d268 Mon Sep 17 00:00:00 2001 From: Gary Benson Date: Thu, 11 Jun 2015 10:58:41 +0100 Subject: [PATCH] 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. --- gdb/ChangeLog | 5 +++++ gdb/nat/linux-namespaces.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 872d88a..0a00a22 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2015-06-11 Gary Benson + + * nat/linux-namespaces.c (gdb_wait.h): New include. + (sys/wait.h): Do not include. + 2015-06-10 Simon Marchi * dwarf2read.c (dwarf_record_line): Call dwarf_record_line if 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 #include #include -#include +#include "gdb_wait.h" #include #include -- 2.7.4