changeset 834:2ad855f5a156 libavformat

FreeBSD ipv6 multicast patch from ports tree
author alex
date Fri, 12 Aug 2005 14:01:03 +0000
parents c33bf4d10c4c
children 14ba3ad599d8
files udp.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
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;