summaryrefslogtreecommitdiffstats
path: root/include/netdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/netdb.h')
-rw-r--r--include/netdb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/netdb.h b/include/netdb.h
index cb523b9..39b7c31 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -163,7 +163,7 @@ struct addrinfo {
#define EAI_NODATA 7 /* no address associated with hostname */
#endif
#define EAI_NONAME 8 /* hostname nor servname provided, or not known */
-#define EAI_NODATA EAINONAME /* To be removed on 23 APR 2004 */
+#define EAI_NODATA EAI_NONAME /* To be removed on 23 APR 2004 */
#define EAI_SERVICE 9 /* servname not supported for ai_socktype */
#define EAI_SOCKTYPE 10 /* ai_socktype not supported */
#define EAI_SYSTEM 11 /* system error returned in errno */
OpenPOWER on IntegriCloud