#include <sys/cdefs.h>\r
#include <sys/featuretest.h>\r
#include <inttypes.h>\r
+#include <paths.h>\r
/*\r
* Data types\r
*/\r
#undef _BSD_SIZE_T_\r
#endif\r
\r
-////#if defined(_NETBSD_SOURCE)\r
-////#ifndef _PATH_HEQUIV\r
-////#define _PATH_HEQUIV "/etc/hosts.equiv"\r
-////#endif\r
-#ifndef _PATH_HOSTS\r
-#define _PATH_HOSTS "/etc/hosts"\r
-#endif\r
-#ifndef _PATH_NETWORKS\r
-#define _PATH_NETWORKS "/etc/networks"\r
-#endif\r
-#ifndef _PATH_PROTOCOLS\r
-#define _PATH_PROTOCOLS "/etc/protocols"\r
-#endif\r
-#ifndef _PATH_SERVICES\r
-#define _PATH_SERVICES "/etc/services"\r
-#endif\r
-////#ifndef _PATH_SERVICES_DB\r
-////#define _PATH_SERVICES_DB "/var/db/services.db"\r
-////#endif\r
-////#endif\r
-\r
__BEGIN_DECLS\r
extern int h_errno;\r
__END_DECLS\r
#define NETDB_INTERNAL -1 /*%< see errno */\r
#define NETDB_SUCCESS 0 /*%< no problem */\r
#endif\r
-////#define NO_ADDRESS NO_DATA /* no address, look for MX record */\r
+#define NO_ADDRESS NO_DATA /* no address, look for MX record */\r
#define HOST_NOT_FOUND 1 /*%< Authoritative Answer Host not found */\r
#define TRY_AGAIN 2 /*%< Non-Authoritive Host not found, or SERVERFAIL */\r
#define NO_RECOVERY 3 /*%< Non recoverable errors, FORMERR, REFUSED, NOTIMP */\r
-////#define NO_DATA 4 /*%< Valid name, no data record of requested type */\r
-////#if defined(_NETBSD_SOURCE)\r
-////#define NO_ADDRESS NO_DATA /*%< no address, look for MX record */\r
-////#endif\r
+#define NO_DATA 4 /*%< Valid name, no data record of requested type */\r
\r
/*\r
* Error return codes from getaddrinfo()\r