From: Zheng Ruoqin <[email protected]>
Date: Thu, 19 Jan 2017 10:25:16 +0800

> Due to both <netinet/in.h> and <linux/in6.h> being included, the 
> in6_addr is being redefined: once from the C library headers and once
> from the kernel headers. This causes some build failures with for 
> example the musl C library.
> 
> In order to fix this, use just the C library header <netinet/in.h>.
> Original patch taken from
> http://git.alpinelinux.org/cgit/aports/tree/main/iproute2/musl-fixes.patch.
> 
> (Refreshed the patch for 4.9 release)
> 
> Upstream-Status: Pending
> 
> Signed-off-by: Thomas Petazzoni <[email protected]>
> Signed-off-by: Maxin B. John <[email protected]>
> Signed-off-by: Zheng Ruoqin <[email protected]>

We have multiple definition avoidance using CPP tests, which works in
concert with GLIBC headers, that is supposed to avoid this properly.

Reply via email to