aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--NEWS2
-rw-r--r--resolv/netdb.h2
3 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index b3bd03f..cfb5a29 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 753ce68..3ffdb80 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 19bcc87..41cf06f 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