1 Index: mrd6-0.9.5/include/mrdpriv/linux/netlink_missing_defs.h
2 ===================================================================
3 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
4 +++ mrd6-0.9.5/include/mrdpriv/linux/netlink_missing_defs.h 2007-09-21 13:19:06.000000000 +0200
6 +#include <linux/version.h>
8 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19)
10 +#include <linux/if_link.h>
11 +#include <linux/if_addr.h>
12 +#include <linux/neighbour.h>
16 + ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
19 +#define IFA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifaddrmsg))
23 +#define IFLA_RTA(r) \
24 + ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
27 +#define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
32 + ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ndmsg))))
35 +#define NDA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ndmsg))
39 +#define NDTA_RTA(r) \
40 + ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ndtmsg))))
43 +#define NDTA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ndtmsg))
47 Index: mrd6-0.9.5/src/linux/linux_unicast_route.cpp
48 ===================================================================
49 --- mrd6-0.9.5.orig/src/linux/linux_unicast_route.cpp 2007-09-21 13:19:05.000000000 +0200
50 +++ mrd6-0.9.5/src/linux/linux_unicast_route.cpp 2007-09-21 13:19:06.000000000 +0200
54 #include <mrdpriv/linux/unicast_route.h>
55 +#include <mrdpriv/linux/netlink_missing_defs.h>
58 #include <mrd/interface.h>