Add <sys/uio.h> #include back in amd64-linux-nat.c.
authorJoel Brobecker <brobecker@adacore.com>
Wed, 10 Sep 2014 13:06:50 +0000 (09:06 -0400)
committerJoel Brobecker <brobecker@adacore.com>
Wed, 10 Sep 2014 13:11:26 +0000 (06:11 -0700)
This include is needed to access the definition of "struct iovec".

gdb/ChangeLog:

        * amd64-linux-nat.c: Add <sys/uio.h> #include.

gdb/ChangeLog
gdb/amd64-linux-nat.c

index 93a3931..2d20b1c 100644 (file)
@@ -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
index a00fbd6..09a4dfd 100644 (file)
@@ -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>