Subject: bin/10970: usr.bin/ftp/util.c does not compile if INET6 not defined
To: None <gnats-bugs@gnats.netbsd.org>
From: Richard Earnshaw <rearnsha@cambridge.arm.com>
List: netbsd-bugs
Date: 09/07/2000 07:09:14
>Number:         10970
>Category:       bin
>Synopsis:       usr.bin/ftp/util.c does not compile if INET6 not defined
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 07 07:10:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Richard Earnshaw
>Release:        NetBSD-current <NetBSD-current source date>
>Organization:
ARM
-- 
>Environment:
	
System: NetBSD shark1 1.5E NetBSD 1.5E (SHARK) #54: Mon Sep 4 17:12:26 BST 2000 rearnsha@shark1:/usr/src/sys/arch/arm32/compile/SHARK arm32


>Description:
	ftp/util.c won't compile if INET6 is not defined, this is because a
	structure required in parseport is not defined unless netdb.h is 
	included, but this header is conditional on INET6.
	
>How-To-Repeat:
	On arm32:
	cd /usr/src
	make snapshot
	
>Fix:
	either fix the code to not reference the structure when INET6 isn't
	defined, or always include the header; not sure which is correct
	for this environment.
	
>Release-Note:
>Audit-Trail:
>Unformatted: