(backport) sd-radv: avoid redefinition of struct in6_addr
authorHans-Christian Noren Egtvedt <hegtvedt@cisco.com>
Mon, 25 Sep 2017 14:39:32 +0000 (16:39 +0200)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Mon, 12 Feb 2024 15:37:44 +0000 (16:37 +0100)
commit4fd1a3ebd853a1105d1aca8d40a4b38b4564978d
tree29d3b05a3e6d26646b4baa6841d0638ed368a3a1
parente8669ef114224a37e5631a9a1d6268ced3406de9
(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
src/libsystemd-network/sd-radv.c