Subject: Re: getnameinfo type incompatibility
To: None <thorpej@zembu.com>
From: None <itojun@iijlab.net>
List: tech-net
Date: 05/06/2000 13:06:19
> > >Or maybe netdb.h should include <sys/socket.h> implicitly.
> > 	this is the easiest way, but is it okay to do this?
>It probably is, but see if X/Open allows "symbols from sys/socket.h to
>be visible when including netdb.h" :-)

	I need to include sys/types.h as well...  it looks to be too much mess.
	Alternatively, is this acceptable thing to do?

/* in both sys/socket.h and netdb.h */
#ifndef __SOCKLEN_T_DEFINED
typedef	unsigned int	socklen_t;
#define __SOCKLEN_T_DEFINED
#endif

itojun