From 07d10e71d514733e2219794d07b4dce913f48aea Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rg=20Krause?= Date: Thu, 19 May 2016 21:51:27 +0200 Subject: [PATCH] Fix redefinition of struct in6_addr MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit struct in6_addr is both defined in the C library header and the Linux kernel header . lxc_user_nic.c includes both and . The later one includes . This breaks build with the musl libc: error: redefinition of ‘struct in6_addr’ As lxc_user_nic.c does not use any references from it is safe to remove this header. Signed-off-by: Jörg Krause --- src/lxc/lxc_user_nic.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lxc/lxc_user_nic.c b/src/lxc/lxc_user_nic.c index 87780cab7..0cb38ba0b 100644 --- a/src/lxc/lxc_user_nic.c +++ b/src/lxc/lxc_user_nic.c @@ -41,7 +41,6 @@ #include #include #include -#include #include #include #include -- 2.47.2