[BZ #5737] cvs/fedora-glibc-20080216T1726
authorUlrich Drepper <drepper@redhat.com>
Fri, 15 Feb 2008 15:49:15 +0000 (15:49 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 15 Feb 2008 15:49:15 +0000 (15:49 +0000)
2008-02-15  Ulrich Drepper  <drepper@redhat.com>
[BZ #5737]
* resolv/netdb.h: Make NI_MAXHOST and NI_MAXSERV available when
__USE_MISC is defined.

ChangeLog
resolv/netdb.h

index 5108ede..1e43010 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-02-15  Ulrich Drepper  <drepper@redhat.com>
+
+       [BZ #5737]
+       * resolv/netdb.h: Make NI_MAXHOST and NI_MAXSERV available when
+       __USE_MISC is defined.
+
 2008-02-10  Ulrich Drepper  <drepper@redhat.com>
 
        * sysdeps/unix/sysv/linux/sys/timerfd.h: New file.
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