mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-09 15:49:42 +02:00
25 lines
730 B
Diff
25 lines
730 B
Diff
|
--- aodv-uu-0.9.3-old/main.c 2006-09-20 19:58:38.000000000 +0200
|
||
|
+++ aodv-uu-0.9.3/main.c 2006-12-16 22:27:36.000000000 +0100
|
||
|
@@ -26,6 +26,8 @@
|
||
|
#include <sys/types.h>
|
||
|
#include <sys/socket.h>
|
||
|
#include <sys/stat.h>
|
||
|
+#include <linux/types.h>
|
||
|
+#include <linux/if.h>
|
||
|
#include <linux/sockios.h>
|
||
|
#include <linux/wireless.h>
|
||
|
#include <getopt.h>
|
||
|
--- aodv-uu-0.9.3-old/nl.c 2006-09-20 19:58:38.000000000 +0200
|
||
|
+++ aodv-uu-0.9.3/nl.c 2006-12-16 22:29:55.000000000 +0100
|
||
|
@@ -33,6 +33,10 @@
|
||
|
#include <netinet/in.h>
|
||
|
#include <arpa/inet.h>
|
||
|
#include <linux/rtnetlink.h>
|
||
|
+#include <linux/version.h>
|
||
|
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19)
|
||
|
+#include <linux/if_addr.h>
|
||
|
+#endif
|
||
|
|
||
|
#include "defs.h"
|
||
|
#include "lnx/kaodv-netlink.h"
|