IFA_F_NOPREFIXROUTE is a usual #define appeared in Linux 3.14, so AC_CHECK_DECLS
is not necessary
---
Fixes second systemd compilation problem against Linux 3.12 uapi headers.
src/shared/missing.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/shared/missing.h b/src/shared/missing.h
index 86c917b..e029167 100644
--- a/src/shared/missing.h
+++ b/src/shared/missing.h
@@ -866,6 +866,10 @@ static inline int setns(int fd, int nstype) {
#define IFA_MAX (__IFA_MAX - 1)
#endif
+#ifndef IFA_F_NOPREFIXROUTE
+#define IFA_F_NOPREFIXROUTE 0x200
+#endif
+
#ifndef MAX_AUDIT_MESSAGE_LENGTH
#define MAX_AUDIT_MESSAGE_LENGTH 8970
#endif
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel