Thread (2 messages) flat view 2 messages, 2 authors, 2017-01-19

Re: [PATCH] Avoid in6_addr redefinition

From: David Miller <davem@davemloft.net>
Date: 2017-01-19 02:40:14

From: Zheng Ruoqin <redacted>
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 <redacted>
Signed-off-by: Maxin B. John <redacted>
Signed-off-by: Zheng Ruoqin <redacted>
We have multiple definition avoidance using CPP tests, which works in
concert with GLIBC headers, that is supposed to avoid this properly.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help