summaryrefslogtreecommitdiffstats
path: root/src/include
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
parent90e38d3b720dc23e8758f3b28b6ae7248e737ee4 (diff)
downloadkrb5-b319923f595c847124047b08fb259f94c374aff3.tar.gz
krb5-b319923f595c847124047b08fb259f94c374aff3.tar.xz
krb5-b319923f595c847124047b08fb259f94c374aff3.zip
* 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')
-rw-r--r--src/include/ChangeLog3
-rw-r--r--src/include/fake-addrinfo.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/src/include/ChangeLog b/src/include/ChangeLog
index acd7a352c..7bde94f66 100644
--- a/src/include/ChangeLog
+++ b/src/include/ChangeLog
@@ -4,6 +4,9 @@
krb5_cv_inet6 when deciding whether to test for in6addr_any. If
gcc is in use, suppress pedantic warnings about "inline".
+ * fake-addrinfo.h (in6addr_any): If we need to define a static
+ copy, rename it with a macro first.
+
2004-07-09 Ken Raeburn <raeburn@mit.edu>
* k5-thread.h: Test HAVE_PTHREAD instead of HAVE_PTHREAD_H.
diff --git a/src/include/fake-addrinfo.h b/src/include/fake-addrinfo.h
index 980e08b0c..e37dc6790 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