aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@adacore.com>2014-09-10 09:06:50 -0400
committerJoel Brobecker <brobecker@adacore.com>2014-09-10 06:11:26 -0700
commit35782f1465dd014737fcf6c82bdf733598a5c9b8 (patch)
treef97af0420c09079b3c72a47d4fe3fe5d83b889c6 /gdb
parentd342a0da4fa83b680426511a7d0e1b1e299c63b8 (diff)
downloadgdb-35782f1465dd014737fcf6c82bdf733598a5c9b8.zip
gdb-35782f1465dd014737fcf6c82bdf733598a5c9b8.tar.gz
gdb-35782f1465dd014737fcf6c82bdf733598a5c9b8.tar.bz2
Add <sys/uio.h> #include back in amd64-linux-nat.c.
This include is needed to access the definition of "struct iovec". gdb/ChangeLog: * amd64-linux-nat.c: Add <sys/uio.h> #include.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/amd64-linux-nat.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 93a3931..2d20b1c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2014-09-10 Joel Brobecker <brobecker@adacore.com>
+
+ * amd64-linux-nat.c: Add <sys/uio.h> #include.
+
2014-09-09 Doug Evans <xdje42@gmail.com>
PR guile/17367
diff --git a/gdb/amd64-linux-nat.c b/gdb/amd64-linux-nat.c
index a00fbd6..09a4dfd 100644
--- a/gdb/amd64-linux-nat.c
+++ b/gdb/amd64-linux-nat.c
@@ -22,6 +22,7 @@
#include "inferior.h"
#include "regcache.h"
#include "elf/common.h"
+#include <sys/uio.h>
#include <sys/ptrace.h>
#include <asm/prctl.h>
#include <sys/reg.h>