diff --git a/src/libsystemd/sd-rtnl/rtnl-message.c b/src/libsystemd/sd-rtnl/rtnl-message.c index eb4b445da7d..5d4dc718101 100644 --- a/src/libsystemd/sd-rtnl/rtnl-message.c +++ b/src/libsystemd/sd-rtnl/rtnl-message.c @@ -27,6 +27,7 @@ #include "util.h" #include "refcnt.h" +#include "missing.h" #include "sd-rtnl.h" #include "rtnl-util.h" diff --git a/src/shared/missing.h b/src/shared/missing.h index ac6f5bf6afd..2661285a227 100644 --- a/src/shared/missing.h +++ b/src/shared/missing.h @@ -30,6 +30,7 @@ #include #include #include +#include #ifdef HAVE_AUDIT #include @@ -85,6 +86,19 @@ #define IP_TRANSPARENT 19 #endif +#ifndef IFLA_CARRIER + #define IFLA_CARRIER 33 + #ifndef IFLA_NUM_RX_QUEUES + #define IFLA_NUM_RX_QUEUES 32 + #ifndef IFLA_NUM_TX_QUEUES + #define IFLA_NUM_TX_QUEUES 31 + #ifndef IFLA_PROMISCUITY + #define IFLA_PROMISCUITY 30 + #endif + #endif + #endif +#endif + #if !HAVE_DECL_PIVOT_ROOT static inline int pivot_root(const char *new_root, const char *put_old) { return syscall(SYS_pivot_root, new_root, put_old);