1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-18 12:32:48 +02:00
openwrt-xburst/package/dnsmasq/patches/102-rtnetlink.patch
nbd 394615dd78 prepare packages for kernel upgrade to 2.6.19
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5786 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-14 08:00:20 +00:00

14 lines
421 B
Diff

--- 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;