[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

getaddrinfo on solaris 2.5.1



New getaddrinfo does not compile on solaris 2.5.1:

In file included from getaddrinfo.c:77:
/usr/include/resolv.h:145: field `nsaddr_list' has incomplete type
/usr/include/resolv.h:155: field `addr' has incomplete type
In file included from getaddrinfo.c:82:
/usr/include/arpa/inet.h:46: warning: parameter has incomplete type
/usr/include/arpa/inet.h:49: warning: parameter has incomplete type
/usr/include/arpa/inet.h:50: warning: parameter has incomplete type
getaddrinfo.c:125: parse error before `uint32_t'
getaddrinfo.c:125: warning: no semicolon at end of struct or union

and so on...

Eugene