2 +++ b/include/mrdpriv/linux/netlink_missing_defs.h
4 +#include <linux/version.h>
6 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19)
8 +#include <linux/if_link.h>
9 +#include <linux/if_addr.h>
10 +#include <linux/neighbour.h>
14 + ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
17 +#define IFA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifaddrmsg))
21 +#define IFLA_RTA(r) \
22 + ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
25 +#define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
30 + ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ndmsg))))
33 +#define NDA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ndmsg))
37 +#define NDTA_RTA(r) \
38 + ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ndtmsg))))
41 +#define NDTA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ndtmsg))
45 --- a/src/linux/linux_unicast_route.cpp
46 +++ b/src/linux/linux_unicast_route.cpp
50 #include <mrdpriv/linux/unicast_route.h>
51 +#include <mrdpriv/linux/netlink_missing_defs.h>
54 #include <mrd/interface.h>