fix fuse compile on osx
[openwrt.git] / package / aodv-uu / patches / 004-linux_2.6.19_includes.patch
1 --- aodv-uu-0.9.3-old/main.c 2006-09-20 19:58:38.000000000 +0200
2 +++ aodv-uu-0.9.3/main.c 2006-12-16 22:27:36.000000000 +0100
3 @@ -26,6 +26,8 @@
4 #include <sys/types.h>
5 #include <sys/socket.h>
6 #include <sys/stat.h>
7 +#include <linux/types.h>
8 +#include <linux/if.h>
9 #include <linux/sockios.h>
10 #include <linux/wireless.h>
11 #include <getopt.h>
12 --- aodv-uu-0.9.3-old/nl.c 2006-09-20 19:58:38.000000000 +0200
13 +++ aodv-uu-0.9.3/nl.c 2006-12-16 22:29:55.000000000 +0100
14 @@ -33,6 +33,10 @@
15 #include <netinet/in.h>
16 #include <arpa/inet.h>
17 #include <linux/rtnetlink.h>
18 +#include <linux/version.h>
19 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19)
20 +#include <linux/if_addr.h>
21 +#endif
22
23 #include "defs.h"
24 #include "lnx/kaodv-netlink.h"
This page took 0.045106 seconds and 5 git commands to generate.