aboutsummaryrefslogtreecommitdiff
path: root/resolv
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-11-13 18:11:49 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-11-13 18:11:49 +0000
commit8ca8931812236803335e0aa13d4c3158bf6c67de (patch)
treed2add7f92675a0ae64c62225cd8ecc829c2fa1e0 /resolv
parentFix missing truncation UNDERFLOW. (diff)
downloadglibc-8ca8931812236803335e0aa13d4c3158bf6c67de.tar.gz
glibc-8ca8931812236803335e0aa13d4c3158bf6c67de.tar.bz2
glibc-8ca8931812236803335e0aa13d4c3158bf6c67de.zip
Define IPPORT_RESERVED in netdb.h for XPG4 and UNIX98 (bug 14838).
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 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