]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Netlink: Fix build with older headers missing IFA_FLAGS
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Wed, 20 Jul 2016 13:31:25 +0000 (15:31 +0200)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Wed, 20 Jul 2016 13:31:25 +0000 (15:31 +0200)
sysdep/linux/netlink.c

index f6cedbd837c9f3628b35bc2ea6c33a2186c73143..fa9013bd1ee49cf346b4b409851e8b6bbe05d16c 100644 (file)
 #define MSG_TRUNC 0x20
 #endif
 
+#ifndef IFA_FLAGS
+#define IFA_FLAGS 8
+#endif
+
 #ifndef IFF_LOWER_UP
 #define IFF_LOWER_UP 0x10000
 #endif