summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-04-07 21:07:19 +0200
committerLennart Poettering <lennart@poettering.net>2015-04-07 21:09:18 +0200
commit34f7b9f98facbf3431c6849622104cee992f2b7d (patch)
tree55044760a8c9ad4cb02c7fd9a5c50d6ca0ce3ab5 /src
parent5d84c44a976794625889f3d24e57835d5de234e3 (diff)
downloadsystemd-34f7b9f98facbf3431c6849622104cee992f2b7d.tar.gz
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 21c6afc56c..ae8405350d 100644
--- a/src/shared/missing.h
+++ b/src/shared/missing.h
@@ -859,6 +859,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