Subject: Re: getnameinfo type incompatibility
To: None <thorpej@zembu.com, tech-net@netbsd.org>
From: None <itojun@iijlab.net>
List: tech-net
Date: 05/06/2000 01:32:40
>>	Thanks, I'm really happy to hear this.  If I don't hear anyone scream
>>	I'm going to rename 2nd arg type.
>	another issue, netdb.h now requires sys/socket.h due to socklen_t in
>	prototype.
>	manpage for gethostbyname(3) does not list sys/socket.h as requirement.
>	X/Open document does not require sys/socket.h before netdb.h, however.

	BIND8 and BIND9 are still using pre-2553 declaration (size_t).
	I'm a little bit confused, which one seems more correct?
	("specification is always correct?")
		size_t (pre-rfc2553 BIND8 BIND9 KAME netbsd-current)
		socklen_t (rfc2553 X/Open)
			requires sys/socket.h before netdb.h

itojun