summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-04-07 21:07:19 +0200
committerSven Eden <yamakuzure@gmx.net>2017-03-14 07:52:37 +0100
commitcdd95216d7b3eb57c5b563657a63a01dbae01805 (patch)
tree7395c34e09a815f8db4a5dcd3d9628105175d82b /src
parent8371765738c641bcfa12711ae36d082328bb902e (diff)
missing.h: define IFA_FLAGS if it is missing
Diffstat (limited to 'src')
-rw-r--r--src/shared/missing.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shared/missing.h b/src/shared/missing.h
index c51f373b6..fa532845c 100644
--- a/src/shared/missing.h
+++ b/src/shared/missing.h
@@ -855,6 +855,10 @@ static inline int setns(int fd, int nstype) {
#define LOOPBACK_IFINDEX 1
#endif
+#if !HAVE_DECL_IFA_FLAGS
+#define IFA_FLAGS 8
+#endif
+
#ifndef MAX_AUDIT_MESSAGE_LENGTH
#define MAX_AUDIT_MESSAGE_LENGTH 8970
#endif