forked from Lainports/freebsd-ports
Fix build on FreeBSD 8.
PR: ports/198404 Reported by: kib
This commit is contained in:
parent
731ec1a953
commit
91d83c66cf
1 changed files with 16 additions and 0 deletions
16
lang/mono/files/patch-mono_metadata_socket-io.c
Normal file
16
lang/mono/files/patch-mono_metadata_socket-io.c
Normal 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>
|
||||
Loading…
Add table
Reference in a new issue