Date: Thu, 26 Jun 2014 14:24:31 +0000 (UTC) From: Hajimu UMEMOTO <ume@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r267915 - head/lib/libc/net Message-ID: <201406261424.s5QEOVdO021000@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ume Date: Thu Jun 26 14:24:31 2014 New Revision: 267915 URL: http://svnweb.freebsd.org/changeset/base/267915 Log: Fix build with WITHOUT_INET6. Spotted by: bf MFC after: 1 week Modified: head/lib/libc/net/getaddrinfo.c Modified: head/lib/libc/net/getaddrinfo.c ============================================================================== --- head/lib/libc/net/getaddrinfo.c Thu Jun 26 13:57:44 2014 (r267914) +++ head/lib/libc/net/getaddrinfo.c Thu Jun 26 14:24:31 2014 (r267915) @@ -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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406261424.s5QEOVdO021000>