From c9136393324adcf02329a9a3749d99968adefd0c Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 15 Feb 2008 15:49:15 +0000 Subject: [BZ #5737] 2008-02-15 Ulrich Drepper [BZ #5737] * resolv/netdb.h: Make NI_MAXHOST and NI_MAXSERV available when __USE_MISC is defined. --- resolv/netdb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resolv') diff --git a/resolv/netdb.h b/resolv/netdb.h index 47669c8..a260c48 100644 --- a/resolv/netdb.h +++ b/resolv/netdb.h @@ -612,7 +612,7 @@ struct gaicb # define EAI_IDN_ENCODE -105 /* IDN encoding failed. */ # endif -# ifdef __USE_GNU +# ifdef __USE_MISC # define NI_MAXHOST 1025 # define NI_MAXSERV 32 # endif -- cgit v1.1