Subject: Re: getnameinfo type incompatibility
To: None <tech-net@netbsd.org>
From: Jason R Thorpe <thorpej@zembu.com>
List: tech-net
Date: 05/05/2000 09:50:02
On Sat, May 06, 2000 at 01:23:20AM +0900, itojun@iijlab.net wrote:
> 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>? Or maybe netdb.h should include <sys/socket.h> implicitly.
--
-- Jason R. Thorpe <thorpej@zembu.com>