summaryrefslogtreecommitdiff
path: root/multimedia/vic/files/patch-inet6.h
blob: ed330bfa8b04af7f0a0c9b4578de02b8e25ed5a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
--- net/inet6.h.org	Mon Feb  4 17:51:39 2002
+++ net/inet6.h	Mon Feb  4 17:52:02 2002
@@ -44,7 +44,6 @@
 #define vic_inet6_h
 
 #ifdef HAVE_IPV6
-
 #include <sys/types.h>
 #ifdef WIN32
 //#include <winsock.h>
@@ -62,10 +61,23 @@
 }
 #else
 #include <netinet/in.h>
+#include <netinet6/in6.h>
 #endif
 #endif
 #ifndef WIN32
 #include <arpa/inet.h>
+#ifdef  _NETINET6_IN6_H_
+#ifndef IPV6_ADD_MEMBERSHIP
+#ifdef  IPV6_JOIN_GROUP
+#define IPV6_ADD_MEMBERSHIP IPV6_JOIN_GROUP
+#endif  /* IPV6_JOIN_GROUP      */
+#endif  /* IPV6_ADD_MEMBERSHIP  */
+#ifndef IPV6_DROP_MEMBERSHIP
+#ifdef  IPV6_LEAVE_GROUP
+#define IPV6_DROP_MEMBERSHIP IPV6_LEAVE_GROUP
+#endif  /* IPV6_LEAVE_GROUP     */
+#endif  /* IPV6_DROP_MEMBERSHIP */
+#endif  /* _NETINET6_IN6_H_     */
 #endif
 
 #include "config.h"