[lxc-devel] [lxd/master] Add symbol if not defined

mjrider on Github lxc-bot at linuxcontainers.org
Mon Oct 1 09:52:49 UTC 2018


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 543 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20181001/1a1336b7/attachment.bin>
-------------- next part --------------
From c544f55752d09838abcf6fa7f1cb4e57b0c1caa1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Robbert=20M=C3=BCller?= <spam.me at 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.me at 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)


More information about the lxc-devel mailing list