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

Message ID
State New
Headers show

Commit Message

Ian Taylor Jan. 27, 2011, 12:03 a.m.
This patch changes the 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.



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