summaryrefslogtreecommitdiff
path: root/sysdep/linux/netlink.c
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2016-07-20 15:31:25 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2016-07-20 15:31:25 +0200
commita08a81c6b40dcf07e786b67e5015fc91a44333ca (patch)
tree2f89f6b2fdd733ab62a21a9537ba6926b77f8ee8 /sysdep/linux/netlink.c
parente37d2e3e708db78f9b8f15eb34bb266cfae7bb42 (diff)
Netlink: Fix build with older headers missing IFA_FLAGS
Diffstat (limited to 'sysdep/linux/netlink.c')
-rw-r--r--sysdep/linux/netlink.c4
1 files changed, 4 insertions, 0 deletions
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