From: Ondrej Zajicek (work) Date: Wed, 20 Jul 2016 13:31:25 +0000 (+0200) Subject: Netlink: Fix build with older headers missing IFA_FLAGS X-Git-Tag: v1.6.1~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a08a81c6b40dcf07e786b67e5015fc91a44333ca;p=thirdparty%2Fbird.git Netlink: Fix build with older headers missing IFA_FLAGS --- diff --git a/sysdep/linux/netlink.c b/sysdep/linux/netlink.c index f6cedbd83..fa9013bd1 100644 --- a/sysdep/linux/netlink.c +++ b/sysdep/linux/netlink.c @@ -38,6 +38,10 @@ #define MSG_TRUNC 0x20 #endif +#ifndef IFA_FLAGS +#define IFA_FLAGS 8 +#endif + #ifndef IFF_LOWER_UP #define IFF_LOWER_UP 0x10000 #endif