--- a/src/pluto/adns.c +++ b/src/pluto/adns.c @@ -179,7 +179,7 @@ res_query(dname, class, type, answer, anslen) # define res_nclose(statp) res_close() -static struct __res_state *statp = &_res; +#define statp (&(_res)) #else /* !OLD_RESOLVER */