mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
Check for AI_NUMERICHOST seperately.
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user