From: Rabin Vincent Date: Fri, 12 Feb 2016 07:41:44 +0000 (+0100) Subject: missing.h: define IFLA_EXT_MASK X-Git-Tag: v231.3~250 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=78cf14eb80347e61ba92852caa424b87409865ae missing.h: define IFLA_EXT_MASK We already define IFLA_PROMISCUITY and some other of these masks in order to allow building with older headers. Define IFLA_EXT_MASK too, which was added in the same kernel version as IFLA_PROMISCUITY (v3.10). --- diff --git a/src/basic/missing.h b/src/basic/missing.h index ec390f4f9..40d0bf01b 100644 --- a/src/basic/missing.h +++ b/src/basic/missing.h @@ -723,6 +723,7 @@ static inline int setns(int fd, int nstype) { #endif #if !HAVE_DECL_IFLA_PHYS_PORT_ID +#define IFLA_EXT_MASK 29 #undef IFLA_PROMISCUITY #define IFLA_PROMISCUITY 30 #define IFLA_NUM_TX_QUEUES 31