diff options
author | Ulrich Drepper <drepper@redhat.com> | 2008-02-15 15:49:15 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2008-02-15 15:49:15 +0000 |
commit | c9136393324adcf02329a9a3749d99968adefd0c (patch) | |
tree | a591629581f7f3a285284dfda686937aa7687eec | |
parent | 2e3e9ff16ca12c6132776f538ac540a3f3538b06 (diff) | |
download | glibc-c9136393324adcf02329a9a3749d99968adefd0c.tar.gz glibc-c9136393324adcf02329a9a3749d99968adefd0c.tar.xz glibc-c9136393324adcf02329a9a3749d99968adefd0c.zip |
[BZ #5737] cvs/fedora-glibc-20080216T1726
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.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | resolv/netdb.h | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 5108ede5f4..1e430102f8 100644 --- 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. 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 |