From 2ee2c1be1873d6fb477c085029ecc1dd63e8abb6 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Mon, 29 Jul 2002 00:35:17 +0000 Subject: [PATCH] EAI_NODATA is platform dependent. --- lib/bind9/getaddresses.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/bind9/getaddresses.c b/lib/bind9/getaddresses.c index e65cc8a2f8..61d838f350 100644 --- a/lib/bind9/getaddresses.c +++ b/lib/bind9/getaddresses.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: getaddresses.c,v 1.11 2002/06/06 00:55:48 marka Exp $ */ +/* $Id: getaddresses.c,v 1.12 2002/07/29 00:35:17 marka Exp $ */ #include #include @@ -99,7 +99,9 @@ bind9_getaddresses(const char *hostname, in_port_t port, case 0: break; case EAI_NONAME: +#ifdef EAI_NODATA case EAI_NODATA: +#endif return (ISC_R_NOTFOUND); default: return (ISC_R_FAILURE);