From: Jörg Krause Date: Thu, 19 May 2016 19:51:27 +0000 (+0200) Subject: Fix redefinition of struct in6_addr X-Git-Tag: lxc-2.1.0~419^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1029%2Fhead;p=thirdparty%2Flxc.git Fix redefinition of struct in6_addr 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 --- 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