Hello,

On Jul 5, 2020 4:55 AM, Rob Landley <r...@landley.net> wrote:

On 7/5/20 1:18 AM, Ariadne Conill wrote:
> This fixes compilation on musl libc.
>
> Signed-off-by: Ariadne Conill <aria...@dereferenced.org>
> ---
>  toys/pending/ip.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/toys/pending/ip.c b/toys/pending/ip.c
> index 621d1eb7..d828c509 100644
> --- a/toys/pending/ip.c
> +++ b/toys/pending/ip.c
> @@ -34,6 +34,7 @@ config IP
>  #include <net/if_arp.h>
>  #include <ifaddrs.h>
>  #include <fnmatch.h>
> +#include <linux/ip.h>
>  #include <linux/if_tunnel.h>

Was there a kernel version upgrade here, or is this another case where it builds
with both glibc and bionic and thus musl insists the issue is not musl-specific?

In Alpine, we are using Linux 5.4 kernel headers.  It is probably a regression in the headers, but including the header anyway likely makes sense.

I think glibc and bionic do not use kernel headers directly.

Ariadne
_______________________________________________
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to