diff options
author | ume <ume@FreeBSD.org> | 2014-06-26 14:24:31 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2014-06-26 14:24:31 +0000 |
commit | 3f3d5440052af17ce46dcf7bbd8342036f6eda8b (patch) | |
tree | 225d3e320b5b2a0d7fa74e4bb5d82c6149c357a0 /lib | |
parent | 64b5b5018dcee045b6358fff8c4a0adfd7d2a05f (diff) | |
download | FreeBSD-src-3f3d5440052af17ce46dcf7bbd8342036f6eda8b.zip FreeBSD-src-3f3d5440052af17ce46dcf7bbd8342036f6eda8b.tar.gz |
Fix build with WITHOUT_INET6.
Spotted by: bf
MFC after: 1 week
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/net/getaddrinfo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/net/getaddrinfo.c b/lib/libc/net/getaddrinfo.c index 4883078..b4c1a33 100644 --- a/lib/libc/net/getaddrinfo.c +++ b/lib/libc/net/getaddrinfo.c @@ -1546,7 +1546,9 @@ addrconfig(struct addrinfo *pai) { struct ifaddrs *ifaddrs, *ifa; struct sockaddr_in *sin; +#ifdef INET6 struct sockaddr_in6 *sin6; +#endif int seen_inet = 0, seen_inet6 = 0; if (getifaddrs(&ifaddrs) != 0) |