diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2016-07-20 15:31:25 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2016-07-20 15:31:25 +0200 |
commit | a08a81c6b40dcf07e786b67e5015fc91a44333ca (patch) | |
tree | 2f89f6b2fdd733ab62a21a9537ba6926b77f8ee8 | |
parent | e37d2e3e708db78f9b8f15eb34bb266cfae7bb42 (diff) |
Netlink: Fix build with older headers missing IFA_FLAGS
-rw-r--r-- | sysdep/linux/netlink.c | 4 |
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 |