From: Rich Felker Date: Sun, 13 May 2012 03:34:39 +0000 (-0400) Subject: namespace cleanup - NI_* is NOT reserved by netdb.h X-Git-Tag: v0.9.1~55 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=20052b9815f1009699fc6543d746010c67e8b962;p=oweals%2Fmusl.git namespace cleanup - NI_* is NOT reserved by netdb.h --- diff --git a/include/netdb.h b/include/netdb.h index 6e181b6e..db5eccf4 100644 --- a/include/netdb.h +++ b/include/netdb.h @@ -44,9 +44,6 @@ struct addrinfo #define NI_DGRAM 0x10 /*#define NI_NUMERICSCOPE */ -#define NI_MAXHOST 255 -#define NI_MAXSERV 32 - #define EAI_BADFLAGS -1 #define EAI_NONAME -2 #define EAI_AGAIN -3 @@ -146,6 +143,8 @@ int getservbyname_r(const char *, const char *, struct servent *, char *, size_t #define EAI_ALLDONE -103 #define EAI_INTR -104 #define EAI_IDN_ENCODE -105 +#define NI_MAXHOST 255 +#define NI_MAXSERV 32 #endif