summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-11-21 07:05:33 +0000
committerEric Andersen <andersen@codepoet.org>2002-11-21 07:05:33 +0000
commit22119008112a4abb723a48ea54b8c9626c449db9 (patch)
tree5b60095fe4aa7bdfcc17845be255a41cd3be51f1
parentac47326a5c217c337ad200c9af83578a02d8ad93 (diff)
Oops.
-rw-r--r--libc/inet/getaddrinfo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/inet/getaddrinfo.c b/libc/inet/getaddrinfo.c
index a2f595a6e..553d5a944 100644
--- a/libc/inet/getaddrinfo.c
+++ b/libc/inet/getaddrinfo.c
@@ -583,6 +583,7 @@ gaih_inet (const char *name, const struct gaih_service *service,
#if __UCLIBC_HAS_IPV6__
if (req->ai_family == 0 || req->ai_family == AF_INET6)
{
+ extern const struct in6_addr __in6addr_loopback;
at->family = AF_INET6;
if ((req->ai_flags & AI_PASSIVE) == 0)
memcpy (at->addr, &__in6addr_loopback, sizeof (struct in6_addr));