From e565eceab672be3fb8ec38f0f0bfde32b25c826f Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Mon, 22 Jan 2007 17:24:36 +0000 Subject: [PATCH] fix mrd6 compilation on linux 2.4 (remove @LINUX_2_6 from DEPENDS to test it) SVN-Revision: 6179 --- ipv6/mrd6/patches/02-missing_netlink_defs.patch | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ipv6/mrd6/patches/02-missing_netlink_defs.patch b/ipv6/mrd6/patches/02-missing_netlink_defs.patch index e8a437cab..6e73379f9 100644 --- a/ipv6/mrd6/patches/02-missing_netlink_defs.patch +++ b/ipv6/mrd6/patches/02-missing_netlink_defs.patch @@ -1,14 +1,15 @@ diff -urN mrd6-0.9.5/include/mrdpriv/linux/netlink_missing_defs.h mrd6-0.9.5.new/include/mrdpriv/linux/netlink_missing_defs.h --- mrd6-0.9.5/include/mrdpriv/linux/netlink_missing_defs.h 1970-01-01 01:00:00.000000000 +0100 +++ mrd6-0.9.5.new/include/mrdpriv/linux/netlink_missing_defs.h 2007-01-11 12:26:55.000000000 +0100 -@@ -0,0 +1,40 @@ -+#include -+#include -+#include +@@ -0,0 +1,41 @@ +#include + +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19) + ++#include ++#include ++#include ++ +#ifndef IFA_RTA +#define IFA_RTA(r) \ + ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg)))) -- 2.30.2