1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00

Define IPPORT_RESERVED in netdb.h for XPG4 and UNIX98 (bug 14838).

This commit is contained in:
Joseph Myers
2012-11-13 18:11:49 +00:00
parent 47594329a9
commit 8ca8931812
3 changed files with 8 additions and 2 deletions

View 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