From: Hans-Christian Noren Egtvedt Date: Mon, 25 Sep 2017 14:39:32 +0000 (+0200) Subject: (backport) sd-radv: avoid redefinition of struct in6_addr X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4fd1a3ebd853a1105d1aca8d40a4b38b4564978d;p=platform%2Fupstream%2Fsystemd.git (backport) sd-radv: avoid redefinition of struct in6_addr Both netinet/icmp6.h and linux/in6.h will define struct in6_addr, and in user space we want to use the netinet/icmp6.h variant. Fixes build problem: In file included from src/libsystemd-network/sd-radv.c:23:0: /home/hegtvedt/work/os/product/sunrise/root/_build/v2/include/linux/in6.h:30:8: error: redefinition of 'struct in6_addr' Change-Id: I5e36d3a8a2f73681241436ab02fec4440a6a1902 --- diff --git a/src/libsystemd-network/sd-radv.c b/src/libsystemd-network/sd-radv.c index f23275a..bd03738 100644 --- a/src/libsystemd-network/sd-radv.c +++ b/src/libsystemd-network/sd-radv.c @@ -20,7 +20,6 @@ #include #include #include -#include #include "sd-radv.h"