[OB] Fix ARI warning in linux-namespaces.c
Commit Message
Hi all,
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
Pushed as obvious.
Cheers,
Gary
--
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 deletions(-)
@@ -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>