aboutsummaryrefslogtreecommitdiff
path: root/resolv
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2008-02-15 15:49:15 +0000
committerUlrich Drepper <drepper@redhat.com>2008-02-15 15:49:15 +0000
commitc9136393324adcf02329a9a3749d99968adefd0c (patch)
treea591629581f7f3a285284dfda686937aa7687eec /resolv
parent2e3e9ff16ca12c6132776f538ac540a3f3538b06 (diff)
downloadglibc-c9136393324adcf02329a9a3749d99968adefd0c.zip
glibc-c9136393324adcf02329a9a3749d99968adefd0c.tar.gz
glibc-c9136393324adcf02329a9a3749d99968adefd0c.tar.bz2
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.
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 47669c8..a260c48 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