aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2015-04-28 11:30:23 -0400
committerJohn Baldwin <jhb@FreeBSD.org>2015-04-28 14:44:07 -0400
commitcea6e4f13a8df0eddbcdf643a4fc4727cbf770a7 (patch)
tree6401e74084b7e6498441a7750f3ffff469fe89d4
parentf9c1b181a7e4985fbd7eb80365abe5a9ed7197a2 (diff)
downloadgdb-cea6e4f13a8df0eddbcdf643a4fc4727cbf770a7.zip
gdb-cea6e4f13a8df0eddbcdf643a4fc4727cbf770a7.tar.gz
gdb-cea6e4f13a8df0eddbcdf643a4fc4727cbf770a7.tar.bz2
Use "gdb_wait.h" instead of <sys/wait.h>.
gdb/ChangeLog: * fbsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/fbsd-nat.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7d0e7e9..721346a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2015-04-28 John Baldwin <jhb@FreeBSD.org>
+
+ * fbsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
+
2015-04-28 Patrick Palka <patrick@parcs.ath.cx>
* utils.c (init_page_info): Set rl_catch_sigwinch to zero.
diff --git a/gdb/fbsd-nat.c b/gdb/fbsd-nat.c
index 066e288..9705d45 100644
--- a/gdb/fbsd-nat.c
+++ b/gdb/fbsd-nat.c
@@ -23,11 +23,11 @@
#include "regcache.h"
#include "regset.h"
#include "gdbthread.h"
+#include "gdb_wait.h"
#include <sys/types.h>
#include <sys/procfs.h>
#include <sys/ptrace.h>
#include <sys/sysctl.h>
-#include <sys/wait.h>
#ifdef HAVE_KINFO_GETVMMAP
#include <sys/user.h>
#include <libutil.h>