From: Ulrich Drepper Date: Fri, 15 Feb 2008 15:49:15 +0000 (+0000) Subject: [BZ #5737] X-Git-Tag: cvs/fedora-glibc-20080216T1726 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c9136393324adcf02329a9a3749d99968adefd0c;p=thirdparty%2Fglibc.git [BZ #5737] 2008-02-15 Ulrich Drepper [BZ #5737] * resolv/netdb.h: Make NI_MAXHOST and NI_MAXSERV available when __USE_MISC is defined. --- diff --git a/ChangeLog b/ChangeLog index 5108ede5f48..1e430102f87 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-02-15 Ulrich Drepper + + [BZ #5737] + * resolv/netdb.h: Make NI_MAXHOST and NI_MAXSERV available when + __USE_MISC is defined. + 2008-02-10 Ulrich Drepper * sysdeps/unix/sysv/linux/sys/timerfd.h: New file. diff --git a/resolv/netdb.h b/resolv/netdb.h index 47669c80022..a260c487bcd 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