aboutsummaryrefslogtreecommitdiff
path: root/gdb/amd64-linux-nat.c
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/amd64-linux-nat.c
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/amd64-linux-nat.c')
-rw-r--r--gdb/amd64-linux-nat.c1
1 files changed, 1 insertions, 0 deletions
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>