From a08a81c6b40dcf07e786b67e5015fc91a44333ca Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Wed, 20 Jul 2016 15:31:25 +0200 Subject: [PATCH] Netlink: Fix build with older headers missing IFA_FLAGS --- sysdep/linux/netlink.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sysdep/linux/netlink.c b/sysdep/linux/netlink.c index f6cedbd8..fa9013bd 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