packages/net/openswan/patches/250-resolv-compile-fix.patch
jow 2922a6d275 [packages] openswan: fix typo in last commit, refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/packages@25610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-20 15:20:37 +00:00

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 */