2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 05:57:52 +00:00

Check for AI_NUMERICHOST seperately.

This commit is contained in:
Mark Andrews 2000-01-21 02:08:24 +00:00
parent af5315fd93
commit eda879bf41

View File

@ -20,11 +20,32 @@
#include <netdb.h>
/*
* 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 */