Make NI_MAXHOST and NI_MAXSERV available when __USE_MISC is defined.
authordrepper <drepper>
Fri, 15 Feb 2008 15:48:36 +0000 (15:48 +0000)
committerdrepper <drepper>
Fri, 15 Feb 2008 15:48:36 +0000 (15:48 +0000)
resolv/netdb.h

index 47669c8..a260c48 100644 (file)
@@ -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