From 394615dd78f78c52ba9051410a026fdb74a40d93 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 14 Dec 2006 08:00:20 +0000 Subject: prepare packages for kernel upgrade to 2.6.19 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5786 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/dnsmasq/patches/102-rtnetlink.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 package/dnsmasq/patches/102-rtnetlink.patch (limited to 'package/dnsmasq') diff --git a/package/dnsmasq/patches/102-rtnetlink.patch b/package/dnsmasq/patches/102-rtnetlink.patch new file mode 100644 index 0000000000..03f9917a1b --- /dev/null +++ b/package/dnsmasq/patches/102-rtnetlink.patch @@ -0,0 +1,13 @@ +--- dnsmasq-2.35/src/netlink.c.orig 2006-12-04 23:32:49.000000000 +0100 ++++ dnsmasq-2.35/src/netlink.c 2006-12-04 23:33:18.000000000 +0100 +@@ -17,6 +17,10 @@ + #include + #include + #include ++#ifndef IFA_RTA ++# include "linux/if_addr.h" ++# define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg)))) ++#endif + + static struct iovec iov; + -- cgit v1.2.3