diff udp.c @ 834:2ad855f5a156 libavformat

FreeBSD ipv6 multicast patch from ports tree
author alex
date Fri, 12 Aug 2005 14:01:03 +0000
parents c8d4a65729c5
children da1d5db0ce5c
line wrap: on
line diff
--- a/udp.c	Thu Aug 11 22:26:12 2005 +0000
+++ b/udp.c	Fri Aug 12 14:01:03 2005 +0000
@@ -28,6 +28,11 @@
 #endif
 #include <netdb.h>
 
+#ifndef IPV6_ADD_MEMBERSHIP
+#define IPV6_ADD_MEMBERSHIP IPV6_JOIN_GROUP
+#define IPV6_DROP_MEMBERSHIP IPV6_LEAVE_GROUP
+#endif
+
 typedef struct {
     int udp_fd;
     int ttl;