From: RĂ©mi Denis-Courmont Date: Sat, 5 Jun 2010 10:10:09 +0000 (+0300) Subject: Remove left over HAVE_GETADDRINFO, fix ACL regression (1.2 only) X-Git-Tag: 1.2.0-pre1~6305 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=d8685373ac2760882f257ab58cbc8fe3c1c8df95;p=vlc Remove left over HAVE_GETADDRINFO, fix ACL regression (1.2 only) --- diff --git a/src/network/acl.c b/src/network/acl.c index ab80f9f151..9d15a7eb2a 100644 --- a/src/network/acl.c +++ b/src/network/acl.c @@ -84,9 +84,7 @@ static int ACL_Resolve( vlc_object_t *p_this, uint8_t *p_bytes, break; } -#if defined (HAVE_GETADDRINFO) || defined (WIN32) - /* unfortunately many people define AF_INET6 - though they don't have struct sockaddr_in6 */ +#ifdef AF_INET6 case AF_INET6: { struct sockaddr_in6 *addr;