summaryrefslogtreecommitdiff
path: root/lang/mono/files/patch-mono_metadata_socket-io.c
blob: 6282a2b5e04584c7c192e511ea16b9977055e785 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Fix build on FreeBSD 8
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198404#c6

--- mono/metadata/socket-io.c.orig	2016-07-29 09:10:33 UTC
+++ mono/metadata/socket-io.c
@@ -26,6 +26,7 @@
 #ifdef HOST_WIN32
 #include <ws2tcpip.h>
 #else
+#include <sys/types.h>
 #include <sys/socket.h>
 #ifdef HAVE_SYS_IOCTL_H
 #include <sys/ioctl.h>