summaryrefslogtreecommitdiff
path: root/package/xsupplicant/patches/003-cardif_linux_rtnetlink_c-we19.patch
blob: 1e0723690723b7392d4ea63888a4b9c29b2701a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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"