tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: addrinfo incorrectly declared?



On Mon, Aug 27, 2012 at 06:09:33PM -0400, James K. Lowden wrote:
 > netinfo.h declares struct addrinfo in such a way that it disappears
 > without a preprocessor definition.  Am I missing something, or it
 > supposed to be that way?  
 > 
 > The code requires one of:
 > 
 >      _POSIX_C_SOURCE
 >      _XOPEN_SOURCE
 >      _NETBSD_SOURCE

_NETBSD_SOURCE is defined by default.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index