diff --git a/lib/lwres/include/lwres/netdb.h.in b/lib/lwres/include/lwres/netdb.h.in index de22650662..75de6afb6d 100644 --- a/lib/lwres/include/lwres/netdb.h.in +++ b/lib/lwres/include/lwres/netdb.h.in @@ -20,11 +20,32 @@ #include +/* + * Define if we need to define struct addrinfo. + */ @ISC_LWRES_NEEDADDRINFO@ + +/* + * Define if we need to prototype getipnodeby{name,addr} + * and freehostent. + */ @ISC_LWRES_GETIPNODEPROTO@ + +/* + * Define if we need to prototype getaddrinfo and freeaddrinfo. + */ @ISC_LWRES_GETADDRINFOPROTO@ + +/* + * Define if we need to prototype getnameinfo. + */ @ISC_LWRES_GETNAMEINFOPROTO@ +/* + * Define if sethostent returns int. + */ +@ISC_LWRES_SETNETENTINT@ + #ifdef ISC_LWRES_NEEDADDRINFO struct addrinfo { int ai_flags; /* AI_PASSIVE, AI_CANONNAME */