From 7b5dbd404b8384672b428010bc390a6652d8ad5a Mon Sep 17 00:00:00 2001 From: Michael Sawyer Date: Thu, 15 Jun 2000 20:56:24 +0000 Subject: [PATCH] Only need h_errno if we're not using getaddrinfo --- bin/dig/dighost.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/dig/dighost.c b/bin/dig/dighost.c index 57d3354ef3..3326ba3462 100644 --- a/bin/dig/dighost.c +++ b/bin/dig/dighost.c @@ -15,7 +15,7 @@ * SOFTWARE. */ -/* $Id: dighost.c,v 1.50 2000/06/15 19:05:30 mws Exp $ */ +/* $Id: dighost.c,v 1.51 2000/06/15 20:56:24 mws Exp $ */ /* * Notice to programmers: Do not use this code as an example of how to @@ -33,9 +33,9 @@ #if defined(HAVE_ADDRINFO) && defined(HAVE_GETADDRINFO) #include #include -#endif - +#else extern int h_errno; +#endif #include #include