DNS resolver init changes for NetBSD compatibility.
[users/heiko/exim.git] / src / OS / os.h-NetBSD
index 0f3a3d8fc9f7070e71d4103ab8b1259b1feeed0f..19a8ac0c7028de2eeaa514acf2f0190b78e54637 100644 (file)
@@ -12,6 +12,10 @@ typedef struct flock flock_t;
 #define os_strsignal strsignal
 #define OS_STRSIGNAL
 
+#define os_get_dns_resolver_res __res_get_state
+#define os_put_dns_resolver_res(RP) __res_put_state(RP)
+#define OS_GET_DNS_RESOLVER_RES
+
 #include <sys/param.h>
 
 #if __NetBSD_Version__ >= 299000900