about summary refs log tree commit diff
path: root/resolv
diff options
context:
space:
mode:
Diffstat (limited to 'resolv')
-rw-r--r--resolv/netdb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/resolv/netdb.h b/resolv/netdb.h
index 47669c8002..a260c487bc 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