chiark / gitweb /
missing.h: Define IFA_F_NOPREFIXROUTE
authorAlexander Sverdlin <alexander.sverdlin@gmail.com>
Wed, 8 Apr 2015 10:59:40 +0000 (12:59 +0200)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 06:53:04 +0000 (07:53 +0100)
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.

src/shared/missing.h

index fa532845c505887f843aa236cefcf3e1fa988de3..4c1c7d98adc2f2ca1faa7d93d85b9f98b18d4d0f 100644 (file)
@@ -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