summaryrefslogtreecommitdiffstats
path: root/package/xsupplicant/patches/003-cardif_linux_rtnetlink_c-we19.patch
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-10-21 07:25:42 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-10-21 07:25:42 +0000
commit22742e98c893ee33ddc15c13e80b207d183d3064 (patch)
tree2f310b760a5b9ad446614790697a4f7d5d73e691 /package/xsupplicant/patches/003-cardif_linux_rtnetlink_c-we19.patch
parentbbcfa556db35c9670d08db55653bc330157732ce (diff)
fix xsupplicant build against wireless extension 19 introduced by [2198]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2203 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/xsupplicant/patches/003-cardif_linux_rtnetlink_c-we19.patch')
-rw-r--r--package/xsupplicant/patches/003-cardif_linux_rtnetlink_c-we19.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/xsupplicant/patches/003-cardif_linux_rtnetlink_c-we19.patch b/package/xsupplicant/patches/003-cardif_linux_rtnetlink_c-we19.patch
new file mode 100644
index 000000000..1e0723690
--- /dev/null
+++ b/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"