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 /resolv | |
parent | 47594329a9c03fb945f41c19f06401271f9aa9c5 (diff) | |
download | glibc-8ca8931812236803335e0aa13d4c3158bf6c67de.zip glibc-8ca8931812236803335e0aa13d4c3158bf6c67de.tar.gz glibc-8ca8931812236803335e0aa13d4c3158bf6c67de.tar.bz2 |
Define IPPORT_RESERVED in netdb.h for XPG4 and UNIX98 (bug 14838).
Diffstat (limited to 'resolv')
-rw-r--r-- | resolv/netdb.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |