--- a/dns.c
+++ b/dns.c
-@@ -309,17 +309,17 @@ char nullstring[] = "";
-
- int use_dns = 1;
-
--#ifdef res_ninit
--#define MY_RES_INIT() res_ninit(&myres);
--#define RES_MKQUERY(a, b, c, d, e, f, g, h, i) \
-- res_nmkquery(&myres, a, b, c, d, e, f, g, h, i)
--struct __res_state myres;
--#else
-+//#ifdef res_ninit
-+//#define MY_RES_INIT() res_ninit(&myres);
-+//#define RES_MKQUERY(a, b, c, d, e, f, g, h, i) \
-+// res_nmkquery(&myres, a, b, c, d, e, f, g, h, i)
-+//struct __res_state myres;
-+//#else
- #define MY_RES_INIT() res_init();
- #define RES_MKQUERY(a, b, c, d, e, f, g, h, i) \
- res_mkquery(a, b, c, d, e, f, g, h, i)
- #define myres _res
--#endif
-+//#endif
-
- /* Code */
- #ifdef CorruptCheck
@@ -1267,28 +1267,6 @@ res_nmkquery(res_state statp,
return (-1);
memset(buf, 0, HFIXEDSZ);