Patchwork libgo patch committed: Include <sys/uio.h> in mksysinfo.sh

login
register
mail settings
Submitter Ian Taylor
Date Jan. 27, 2011, 12:03 a.m.
Message ID <mcrk4hrtdp1.fsf@google.com>
Download mbox | patch
Permalink /patch/80568/
State New
Headers show

Comments

Ian Taylor - Jan. 27, 2011, 12:03 a.m.
This patch changes the mksysinfo.sh script in libgo to #include
<sys/uio.h>.  This is required for RTEMS in which <sys/socket.h> does
not already do so.  Bootstrapped and ran Go testsuite on
x86_64-unknown-linux-gnu.  Committed to mainline.

Ian

Patch

diff -r 8ceffa1509cf libgo/mksysinfo.sh
--- a/libgo/mksysinfo.sh	Wed Jan 26 15:51:59 2011 -0800
+++ b/libgo/mksysinfo.sh	Wed Jan 26 15:54:43 2011 -0800
@@ -43,6 +43,7 @@ 
 #include <sys/ptrace.h>
 #endif
 #include <sys/resource.h>
+#include <sys/uio.h>
 #include <sys/socket.h>
 #include <sys/stat.h>
 #include <sys/time.h>