summaryrefslogtreecommitdiff
path: root/openwrt/package
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-10-21 07:25:42 +0000
committerNicolas Thill <nico@openwrt.org>2005-10-21 07:25:42 +0000
commitb62a4262cb68d62db9bfb8a2d2a7bc12d4905b1c (patch)
treeb4d28f67ff5d01b7a66446b05bd88313a2179de7 /openwrt/package
parent98c9dbf8d045158e103a5df3bf3bade6df2b2ce6 (diff)
downloadmtk-20170518-b62a4262cb68d62db9bfb8a2d2a7bc12d4905b1c.zip
mtk-20170518-b62a4262cb68d62db9bfb8a2d2a7bc12d4905b1c.tar.gz
mtk-20170518-b62a4262cb68d62db9bfb8a2d2a7bc12d4905b1c.tar.bz2
fix xsupplicant build against wireless extension 19 introduced by [2198]
SVN-Revision: 2203
Diffstat (limited to 'openwrt/package')
-rw-r--r--openwrt/package/xsupplicant/patches/003-cardif_linux_rtnetlink_c-we19.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/openwrt/package/xsupplicant/patches/003-cardif_linux_rtnetlink_c-we19.patch b/openwrt/package/xsupplicant/patches/003-cardif_linux_rtnetlink_c-we19.patch
new file mode 100644
index 0000000..1e07236
--- /dev/null
+++ b/openwrt/package/xsupplicant/patches/003-cardif_linux_rtnetlink_c-we19.patch
@@ -0,0 +1,28 @@
+diff -ruN xsupplicant-1.2.2-old/src/cardif/linux/cardif_linux_rtnetlink.c xsupplicant-1.2.2-new/src/cardif/linux/cardif_linux_rtnetlink.c
+--- xsupplicant-1.2.2-old/src/cardif/linux/cardif_linux_rtnetlink.c 2005-10-14 04:26:18.000000000 +0200
++++ xsupplicant-1.2.2-new/src/cardif/linux/cardif_linux_rtnetlink.c 2005-10-21 09:12:40.000000000 +0200
+@@ -66,23 +66,14 @@
+ #ifdef LINUX_FRAMER
+
+ #include <unistd.h>
+-#include <strings.h>
+-#include <string.h>
+-#include <stdlib.h>
+-#include <asm/types.h>
+-#include <sys/types.h>
++#include <iwlib.h>
+ #include <sys/socket.h>
+-#include <linux/if.h>
+ #include <sys/ioctl.h>
+ #include <linux/netlink.h>
+ #include <linux/rtnetlink.h>
+-#include <linux/types.h>
+-#include <linux/socket.h>
+-#include <linux/if.h>
+ #include <linux/wireless.h>
+ #include <linux/if_packet.h>
+ #include <math.h>
+-#include <iwlib.h>
+
+ #include "../../profile.h"
+ #include "../../config.h"