[OpenWrt-Devel] [PATCH] netifd: fix compilation with musl 1.2.0

Petr Štetiar ynezz at true.cz
Wed Mar 25 04:27:06 EDT 2020


Rosen Penev <rosenp at gmail.com> [2020-03-24 22:56:19]:

Hi,

> --- a/system-linux.c
> +++ b/system-linux.c
> @@ -59,6 +59,10 @@
>  #define IFA_FLAGS (IFA_MULTICAST + 1)
>  #endif
>  
> +#ifndef __NR_clock_gettime
> +#define __NR_clock_gettime __NR_clock_gettime64
> +#endif

could you fix it by removing that probably now obsolete workaround by
replacing that syscall() with direct clock_gettime()? Thanks!

-- ynezz

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list