summaryrefslogtreecommitdiff
path: root/src/shared/missing.h
diff options
context:
space:
mode:
authorAlexander Sverdlin <alexander.sverdlin@gmail.com>2015-04-08 12:59:40 +0200
committerSven Eden <yamakuzure@gmx.net>2017-03-14 07:53:04 +0100
commit0e464d5b334e691a7502b1ca4305c4d85e5b6acb (patch)
tree6f2449eb387b33f6925a1eae1d0654eaa99ffc90 /src/shared/missing.h
parenta0e52b23ba47791537e30c3f256ae7b7d1374090 (diff)
missing.h: Define IFA_F_NOPREFIXROUTE
Fixes second systemd compilation problem against Linux 3.12 uapi headers. IFA_F_NOPREFIXROUTE is a usual #define appeared in Linux 3.14, so AC_CHECK_DECLS is not necessary.
Diffstat (limited to 'src/shared/missing.h')
-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 fa532845c..4c1c7d98a 100644
--- a/src/shared/missing.h
+++ b/src/shared/missing.h
@@ -859,6 +859,10 @@ static inline int setns(int fd, int nstype) {
#define IFA_FLAGS 8
#endif
+#ifndef IFA_F_NOPREFIXROUTE
+#define IFA_F_NOPREFIXROUTE 0x200
+#endif
+
#ifndef MAX_AUDIT_MESSAGE_LENGTH
#define MAX_AUDIT_MESSAGE_LENGTH 8970
#endif