prepare packages for kernel upgrade to 2.6.19
[openwrt.git] / package / dnsmasq / patches / 102-rtnetlink.patch
diff --git a/package/dnsmasq/patches/102-rtnetlink.patch b/package/dnsmasq/patches/102-rtnetlink.patch
new file mode 100644 (file)
index 0000000..03f9917
--- /dev/null
@@ -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 <linux/types.h>
+ #include <linux/netlink.h>
+ #include <linux/rtnetlink.h>
++#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;
This page took 0.027067 seconds and 4 git commands to generate.