On Tue, 07.04.15 23:05, Alexander Sverdlin ([email protected]) wrote:
> IFA_F_NOPREFIXROUTE is a usual #define appeared in Linux 3.14, so
> AC_CHECK_DECLS
> is not necessary
Applied! THanks!
> ---
>
> 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
>
Lennart
--
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel