2922a6d275
git-svn-id: svn://svn.openwrt.org/openwrt/packages@25610 3c298f89-4303-0410-b956-a3cf2f4a3e73
12 lines
331 B
Diff
12 lines
331 B
Diff
--- a/programs/pluto/adns.c
|
|
+++ b/programs/pluto/adns.c
|
|
@@ -187,7 +187,7 @@ write_pipe(int fd, const unsigned char *
|
|
res_query(dname, class, type, answer, anslen)
|
|
# define res_nclose(statp) res_close()
|
|
|
|
-static struct __res_state *statp = &_res;
|
|
+#define statp ((struct __res_state *)(&_res))
|
|
|
|
#else /* !OLD_RESOLVER */
|
|
|