Revision 63206a8f libavformat/udp.c

View differences:

libavformat/udp.c
96 96
        }
97 97
    }
98 98
#endif
99
#if HAVE_STRUCT_IPV6_MREQ
99
#if HAVE_STRUCT_IPV6_MREQ && defined(IPPROTO_IPV6)
100 100
    if (addr->sa_family == AF_INET6) {
101 101
        struct ipv6_mreq mreq6;
102 102

  
......
125 125
        }
126 126
    }
127 127
#endif
128
#if HAVE_STRUCT_IPV6_MREQ
128
#if HAVE_STRUCT_IPV6_MREQ && defined(IPPROTO_IPV6)
129 129
    if (addr->sa_family == AF_INET6) {
130 130
        struct ipv6_mreq mreq6;
131 131

  

Also available in: Unified diff