From: Ken Raeburn Date: Wed, 25 Jan 2006 06:23:25 +0000 (+0000) Subject: * fake-addrinfo.c (krb5int_in6addr_any): Always define X-Git-Tag: krb5-1.5-alpha1~208 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=11707e4f87eddb84267e88588aee48cbaf7b44bb;p=krb5.git * fake-addrinfo.c (krb5int_in6addr_any): Always define git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17608 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/util/support/ChangeLog b/src/util/support/ChangeLog index d40ec99cd..7bdcc32b1 100644 --- a/src/util/support/ChangeLog +++ b/src/util/support/ChangeLog @@ -7,6 +7,8 @@ Always define, even if not doing anything. * libkrb5support.exports: Export the new functions. + * fake-addrinfo.c (krb5int_in6addr_any): Always define. + 2005-09-09 Ken Raeburn * fake_addrinfo.c (getaddrinfo): Conditionalize last change on diff --git a/src/util/support/fake-addrinfo.c b/src/util/support/fake-addrinfo.c index 6d534703d..922dc8d9b 100644 --- a/src/util/support/fake-addrinfo.c +++ b/src/util/support/fake-addrinfo.c @@ -1309,12 +1309,8 @@ static int krb5int_unlock_fac (void) return k5_mutex_unlock(&krb5int_fac.lock); } -#if defined(KRB5_USE_INET6) && defined(NEED_INSIXADDR_ANY) -/* If compiling with IPv6 support and C library does not define in6addr_any */ +/* Some systems don't define in6addr_any. */ const struct in6_addr krb5int_in6addr_any = IN6ADDR_ANY_INIT; -#endif - - int krb5int_getaddrinfo (const char *node, const char *service, const struct addrinfo *hints,