Fix build on FreeBSD 8.

PR:		ports/198404
Reported by:	kib
This commit is contained in:
Romain Tartière 2015-03-09 15:12:26 +00:00
parent 731ec1a953
commit 91d83c66cf

View file

@ -0,0 +1,16 @@
$FreeBSD$
Fix build on FreeBSD 8
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198404#c6
--- mono/metadata/socket-io.c.orig
+++ mono/metadata/socket-io.c
@@ -23,6 +23,7 @@
#ifdef HOST_WIN32
#include <ws2tcpip.h>
#else
+#include <sys/types.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <netinet/in.h>