Subject: Re: getnameinfo type incompatibility
To: None <thorpej@zembu.com>
From: None <itojun@iijlab.net>
List: tech-net
Date: 05/06/2000 01:53:23
> > 	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.
>Where does X/Open say that socklen_t will be defined?  Should we put it
>in <sys/types.h>?

	sys/socket.h, if I'm not mistaken.

>Or maybe netdb.h should include <sys/socket.h> implicitly.

	this is the easiest way, but is it okay to do this?

itojun