Patch FreeBSD-use-IP_ADD_MEMBERSHIP.patch for Sockets related Bug #75721
Patch version 2017-12-22 01:18 UTC
Return to Bug #75721 |
Download this patch
Patch Revisions:
Developer: jonathan@tangential.ca
diff --git a/ext/sockets/multicast.h b/ext/sockets/multicast.h
index e3009d7..1605637 100644
--- a/ext/sockets/multicast.h
+++ b/ext/sockets/multicast.h
@@ -18,7 +18,7 @@
/* $Id$ */
-#if defined(MCAST_JOIN_GROUP) && !defined(__APPLE__)
+#if defined(MCAST_JOIN_GROUP) && !defined(__APPLE__) && !defined(__FreeBSD__)
# define RFC3678_API 1
/* has block/unblock and source membership, in this case for both IPv4 and IPv6 */
# define HAS_MCAST_EXT 1
|