aboutsummaryrefslogtreecommitdiff
path: root/src/include/fake-addrinfo.h
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2004-07-11 06:55:16 +0000
committerKen Raeburn <raeburn@mit.edu>2004-07-11 06:55:16 +0000
commitb319923f595c847124047b08fb259f94c374aff3 (patch)
tree856d112748250eb9ce8e294d70ec86dfa1fa33de /src/include/fake-addrinfo.h
parent90e38d3b720dc23e8758f3b28b6ae7248e737ee4 (diff)
downloadkrb5-b319923f595c847124047b08fb259f94c374aff3.zip
krb5-b319923f595c847124047b08fb259f94c374aff3.tar.gz
krb5-b319923f595c847124047b08fb259f94c374aff3.tar.bz2
* fake-addrinfo.h (in6addr_any): If we need to define a static copy, rename it
with a macro first. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16579 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/fake-addrinfo.h')
-rw-r--r--src/include/fake-addrinfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/fake-addrinfo.h b/src/include/fake-addrinfo.h
index 980e08b..e37dc67 100644
--- a/src/include/fake-addrinfo.h
+++ b/src/include/fake-addrinfo.h
@@ -1325,6 +1325,8 @@ void freeaddrinfo (struct addrinfo *ai)
#if defined(KRB5_USE_INET6) && defined(NEED_INSIXADDR_ANY)
/* If compiling with IPv6 support and C library does not define in6addr_any */
+#undef in6addr_any
+#define in6addr_any krb5int_in6addr_any
static const struct in6_addr in6addr_any = IN6ADDR_ANY_INIT;
#endif