diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-11-13 18:11:49 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-11-13 18:11:49 +0000 |
commit | 8ca8931812236803335e0aa13d4c3158bf6c67de (patch) | |
tree | d2add7f92675a0ae64c62225cd8ecc829c2fa1e0 | |
parent | 47594329a9c03fb945f41c19f06401271f9aa9c5 (diff) | |
download | glibc-8ca8931812236803335e0aa13d4c3158bf6c67de.tar.gz glibc-8ca8931812236803335e0aa13d4c3158bf6c67de.tar.xz glibc-8ca8931812236803335e0aa13d4c3158bf6c67de.zip |
Define IPPORT_RESERVED in netdb.h for XPG4 and UNIX98 (bug 14838).
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | resolv/netdb.h | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index b3bd03f820..cfb5a29e77 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-11-13 Joseph Myers <joseph@codesourcery.com> + + [BZ #14838] + * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define + macro. + 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org> * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow diff --git a/NEWS b/NEWS index 753ce680d7..3ffdb80168 100644 --- a/NEWS +++ b/NEWS @@ -19,7 +19,7 @@ Version 2.17 14562, 14568, 14576, 14579, 14583, 14587, 14595, 14602, 14610, 14621, 14638, 14645, 14648, 14652, 14660, 14661, 14669, 14683, 14694, 14716, 14743, 14767, 14783, 14784, 14785, 14793, 14796, 14797, 14801, 14805, - 14807, 14809, 14811, 14815, 14821, 14824. + 14807, 14809, 14811, 14815, 14821, 14824, 14838. * Port to ARM AArch64 contributed by Linaro. diff --git a/resolv/netdb.h b/resolv/netdb.h index 19bcc87fd8..41cf06f071 100644 --- a/resolv/netdb.h +++ b/resolv/netdb.h @@ -76,7 +76,7 @@ extern int *__h_errno_location (void) __THROW __attribute__ ((__const__)); # define NO_ADDRESS NO_DATA /* No address, look for MX record. */ #endif -#ifdef __USE_XOPEN2K +#if defined __USE_XOPEN2K || defined __USE_XOPEN_EXTENDED /* Highest reserved Internet port number. */ # define IPPORT_RESERVED 1024 #endif |