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.
This commit is contained in:
Gary Benson 2015-06-11 10:58:41 +01:00
parent 970cdef261
commit 198c808c87
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2015-06-11 Gary Benson <gbenson@redhat.com>
* nat/linux-namespaces.c (gdb_wait.h): New include.
(sys/wait.h): Do not include.
2015-06-10 Simon Marchi <simon.marchi@ericsson.com>
* dwarf2read.c (dwarf_record_line): Call dwarf_record_line if

View File

@ -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>