From: Alexander Sverdlin Date: Wed, 8 Apr 2015 10:59:40 +0000 (+0200) Subject: missing.h: Define IFA_F_NOPREFIXROUTE X-Git-Tag: v220~539 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b06ac35c7979d965d977990e7626d9827dda2b45;p=thirdparty%2Fsystemd.git 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. --- diff --git a/src/shared/missing.h b/src/shared/missing.h index ae8405350de..8ca6f8edb62 100644 --- a/src/shared/missing.h +++ b/src/shared/missing.h @@ -863,6 +863,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