]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-radv: avoid redefinition of struct in6_addr 7843/head
authorHans-Christian Noren Egtvedt <hegtvedt@cisco.com>
Mon, 25 Sep 2017 14:39:32 +0000 (16:39 +0200)
committerHenrik Grindal Bakken <hgb@ifi.uio.no>
Wed, 10 Jan 2018 11:32:03 +0000 (12:32 +0100)
commit8a2b193a55284ecb25e726d5563330787b49e89e
tree311f6e4671e5a9112c31bf2f4d90e482c6414c4b
parentd07ba5d79004c7046c38362a638f961ee16504ec
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'
src/libsystemd-network/sd-radv.c