From eda879bf41000700f8c573eb2346ca188aaf6205 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Fri, 21 Jan 2000 02:08:24 +0000 Subject: [PATCH] Check for AI_NUMERICHOST seperately. --- lib/lwres/include/lwres/netdb.h.in | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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 */