Update hostapd to 0.6.4
[openwrt.git] / package / aodv-uu / patches / 004-linux_2.6.19_includes.patch
1 Index: aodv-uu-0.9.3/main.c
2 ===================================================================
3 --- aodv-uu-0.9.3.orig/main.c 2007-06-04 13:22:19.782847832 +0200
4 +++ aodv-uu-0.9.3/main.c 2007-06-04 13:22:20.513736720 +0200
5 @@ -26,6 +26,8 @@
6 #include <sys/types.h>
7 #include <sys/socket.h>
8 #include <sys/stat.h>
9 +#include <linux/types.h>
10 +#include <linux/if.h>
11 #include <linux/sockios.h>
12 #include <linux/wireless.h>
13 #include <getopt.h>
14 Index: aodv-uu-0.9.3/nl.c
15 ===================================================================
16 --- aodv-uu-0.9.3.orig/nl.c 2007-06-04 13:22:19.789846768 +0200
17 +++ aodv-uu-0.9.3/nl.c 2007-06-04 13:22:20.513736720 +0200
18 @@ -33,6 +33,10 @@
19 #include <netinet/in.h>
20 #include <arpa/inet.h>
21 #include <linux/rtnetlink.h>
22 +#include <linux/version.h>
23 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19)
24 +#include <linux/if_addr.h>
25 +#endif
26
27 #include "defs.h"
28 #include "lnx/kaodv-netlink.h"
This page took 0.040227 seconds and 5 git commands to generate.