summaryrefslogtreecommitdiffstats
path: root/include/netdb.h
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2003-10-23 17:54:17 +0000
committerume <ume@FreeBSD.org>2003-10-23 17:54:17 +0000
commit3ec96cda402cf4e2cde5ccda7129fed098043061 (patch)
treea94f0b441eacd5941ed06631fd8ffdcb0d346a93 /include/netdb.h
parent4407135243775bdeb51d4a1b9cdf726adce221bb (diff)
downloadFreeBSD-src-3ec96cda402cf4e2cde5ccda7129fed098043061.zip
FreeBSD-src-3ec96cda402cf4e2cde5ccda7129fed098043061.tar.gz
workaround to have backward compatibility for EAI_NODATA.
it will be removed on 23 Apr 2004. Submitted by: terry
Diffstat (limited to 'include/netdb.h')
-rw-r--r--include/netdb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/netdb.h b/include/netdb.h
index 0fa4d16..cb523b9 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -163,6 +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_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