On 2015-11-19 22:32:50 GMT Stephen Hemminger wrote:
> This header file comes from iptables. Please fix there, otherwise
> on next time someone does merge from there it will break.
It is already fixed in iptables:
Prefer using the POSIX constant PATH_MAX instead of the legacy BSD
derived MAXPATHLEN. The necessary includes for MAXPATHLEN and PATH_MAX
are sys/param.h and limits.h, respectively.
Signed-off-by: Felix Janda felix.ja...@posteo.de
---
This patch is identical except for title and commit message
Stephen Hemminger wrote:
On Sat, 25 Apr 2015 22:54:11 +0200
Felix Janda felix.ja...@posteo.de wrote:
Hello.
Background:
Current iproute2 does not build when the libc is musl instead of glibc.
This is because of redefinition of in6_addr in netinet/in.h and
linux/in6.h
Hello.
Background:
Current iproute2 does not build when the libc is musl instead of glibc.
This is because of redefinition of in6_addr in netinet/in.h and
linux/in6.h. There are workarounds in linux/libc-compat.h to make it
somehow work for glibc.
As I can see linux/in6.h is only indirectly
They are equivalent but the former is more common. PATH_MAX is
specified by POSIX and needs limits.h while MAXPATHLEN has BSD
origin and needs sys/param.h.
PATH_MAX has already been in use in misc/lnstat.h.
Signed-off-by: Felix Janda felix.ja...@posteo.de
---
ip/ipnetns.c| 15