Date: Tue, 25 Nov 2008 02:15:09 +0000 (UTC) From: Tai-hwa Liang <avatar@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r185277 - head/lib/libutil Message-ID: <200811250215.mAP2F9EG005021@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: avatar Date: Tue Nov 25 02:15:09 2008 New Revision: 185277 URL: http://svn.freebsd.org/changeset/base/185277 Log: Fixing !INET6 builds. Modified: head/lib/libutil/realhostname.c Modified: head/lib/libutil/realhostname.c ============================================================================== --- head/lib/libutil/realhostname.c Tue Nov 25 02:05:01 2008 (r185276) +++ head/lib/libutil/realhostname.c Tue Nov 25 02:15:09 2008 (r185277) @@ -100,7 +100,9 @@ realhostname_sa(char *host, size_t hsize { int result, error; char buf[NI_MAXHOST]; +#ifdef INET6 struct sockaddr_in lsin; +#endif result = HOSTNAME_INVALIDADDR;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811250215.mAP2F9EG005021>