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
7 #include <sys/socket.h>
9 +#include <linux/types.h>
10 +#include <linux/if.h>
11 #include <linux/sockios.h>
12 #include <linux/wireless.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
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>
28 #include "lnx/kaodv-netlink.h"