diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-02-20 23:39:33 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-02-20 23:39:33 +0000 |
commit | f393bed10e090c5880bf45c65258c9e4c9946833 (patch) | |
tree | 6ea6c8439c879f421e9c78b31227ece5fa1e6b10 /package/aodv-uu/patches/004-linux_2.6.19_includes.patch | |
parent | b37101053aad1afc08f689d32907aafaa3b48b8c (diff) | |
download | upstream-f393bed10e090c5880bf45c65258c9e4c9946833.tar.gz upstream-f393bed10e090c5880bf45c65258c9e4c9946833.tar.bz2 upstream-f393bed10e090c5880bf45c65258c9e4c9946833.zip |
Move aodv-uu to trunk/
SVN-Revision: 6335
Diffstat (limited to 'package/aodv-uu/patches/004-linux_2.6.19_includes.patch')
-rw-r--r-- | package/aodv-uu/patches/004-linux_2.6.19_includes.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/package/aodv-uu/patches/004-linux_2.6.19_includes.patch b/package/aodv-uu/patches/004-linux_2.6.19_includes.patch new file mode 100644 index 0000000000..92cae3e1c8 --- /dev/null +++ b/package/aodv-uu/patches/004-linux_2.6.19_includes.patch @@ -0,0 +1,24 @@ +--- 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" |