mirror of https://github.com/hak5/openwrt-owl.git
parent
fe98b0751a
commit
63d865e7a1
|
@ -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;
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
--- iptables-1.3.5/extensions/libipt_iprange.c.orig 2006-12-05 19:28:58.000000000 +0100
|
||||
+++ iptables-1.3.5/extensions/libipt_iprange.c 2006-12-05 19:30:28.000000000 +0100
|
||||
@@ -6,6 +6,7 @@
|
||||
#include <getopt.h>
|
||||
|
||||
#include <iptables.h>
|
||||
+#include <linux/types.h>
|
||||
#include <linux/netfilter_ipv4/ipt_iprange.h>
|
||||
|
||||
/* Function which prints out usage message. */
|
|
@ -26,7 +26,7 @@
|
|||
* 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/autoconf.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/init.h>
|
||||
#include <linux/if.h>
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
* ports: same syntax as for nvram's vlan*ports (eg. "1 2 3 4 5*")
|
||||
*/
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/autoconf.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/init.h>
|
||||
#include <asm/uaccess.h>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
* 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/autoconf.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/init.h>
|
||||
#include <linux/if.h>
|
||||
|
|
Loading…
Reference in New Issue