[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: getaddrinfo on solaris 2.5.1
On Wed, Aug 02, 2000 at 01:58:42PM +0400, Eugene Crosser wrote:
> New getaddrinfo does not compile on solaris 2.5.1:
Looks like #include order idemponence problem...
As I don't anymore have 2.5.1 machines (2.6 and 8 only) I can
do only blind header include order rearrangement ... done.
Please inform me if it helped. (or not)
> 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...
/Matti Aarnio <email@example.com>