The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/5092
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === This defines the symbol RTM_GETNSID if it is not defined This fixes compilation of the terraform lxd plugin on travis for the architecture linux/amd64. The split of cgo and non-cgo code is still required to compile for linux/arm ( #5090 )
From c544f55752d09838abcf6fa7f1cb4e57b0c1caa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robbert=20M=C3=BCller?= <spam...@grols.ch> Date: Mon, 1 Oct 2018 11:47:48 +0200 Subject: [PATCH] Add symbol if not defined MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robbert Müller <spam...@grols.ch> --- shared/network.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shared/network.c b/shared/network.c index 7725ef7333..11f9b2bdb2 100644 --- a/shared/network.c +++ b/shared/network.c @@ -37,6 +37,10 @@ #define IFA_TARGET_NETNSID 10 #endif +#ifndef RTM_GETNSID +#define RTM_GETNSID 90 +#endif + #define IFADDRS_HASH_SIZE 64 #define __NETLINK_ALIGN(len) (((len) + 3) & ~3)
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel