]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Define IPPORT_RESERVED in netdb.h for XPG4 and UNIX98 (bug 14838).
authorJoseph Myers <joseph@codesourcery.com>
Tue, 13 Nov 2012 18:11:49 +0000 (18:11 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 13 Nov 2012 18:11:49 +0000 (18:11 +0000)
ChangeLog
NEWS
resolv/netdb.h

index b3bd03f8206aca2728d1b0522efdc4929420fc67..cfb5a29e7787731e59b2f923cdc36a8e77c15492 100644 (file)
--- 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 753ce680d72e5aa472cba9a10aa4743dfc5fd765..3ffdb8016870c86b35fa04b6058b5ef4796bff6a 100644 (file)
--- 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.
 
index 19bcc87fd86533bfeb2342f263525e8662eb47a5..41cf06f071b3612cdf2a13df6cda7665eae33225 100644 (file)
@@ -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