openbsd-ports/lang/mono/patches/patch-mono_metadata_mono-route_h

12 lines
515 B
Plaintext
Raw Normal View History

2017-02-03 15:26:12 +00:00
$OpenBSD: patch-mono_metadata_mono-route_h,v 1.1 2017/02/03 15:26:12 naddy Exp $
--- mono/metadata/mono-route.h.orig Wed Nov 2 14:40:30 2016
+++ mono/metadata/mono-route.h Fri Feb 3 16:08:29 2017
@@ -4,6 +4,7 @@
#if defined(PLATFORM_MACOSX) || defined(PLATFORM_BSD)
#include <sys/socket.h>
+#include <netinet/in.h> /* in_addr_t */
#if defined (HOST_IOS) || defined (HOST_WATCHOS) || defined (HOST_APPLETVOS)
// The iOS SDK does not provide the net/route.h header but using the Darwin version works fine.