2010-03-26 Zoltan Varga <vargaz@gmail.com>
authorZoltan Varga <vargaz@gmail.com>
Fri, 26 Mar 2010 03:06:32 +0000 (03:06 -0000)
committerZoltan Varga <vargaz@gmail.com>
Fri, 26 Mar 2010 03:06:32 +0000 (03:06 -0000)
* sockets.c: Apply some openbsd changes from openbsd ports.

svn path=/trunk/mono/; revision=154241

mono/io-layer/ChangeLog
mono/io-layer/sockets.c

index 22c1fba68b832c0710f3af025742c8d377d8c129..8783e9ab7b857baf7912d9c03198c582a1bf4c94 100644 (file)
@@ -1,3 +1,7 @@
+2010-03-26  Zoltan Varga  <vargaz@gmail.com>
+
+       * sockets.c: Apply some openbsd changes from openbsd ports.
+
 2010-03-26  Zoltan Varga  <vargaz@gmail.com>
 
        * shared.c: Disable shared supported by default, it can be enabled by setting
index 16dcb16892f85e5b97427f34e3ca2abdbed4b01c..8e787209be10189c79fd70f444d22821c7a3a076 100644 (file)
@@ -14,6 +14,9 @@
 #include <string.h>
 #include <sys/types.h>
 #include <sys/socket.h>
+#ifdef HAVE_SYS_UIO_H
+#  include <sys/uio.h>
+#endif
 #ifdef HAVE_SYS_IOCTL_H
 #  include <sys/ioctl.h>
 #endif