[OpenWrt-Devel] [PATCH] netifd: fix compilation with musl 1.2.0
Hans Dedecker
dedeckeh at gmail.com
Wed Mar 25 05:40:59 EDT 2020
On Wed, Mar 25, 2020 at 9:27 AM Petr Štetiar <ynezz at true.cz> wrote:
>
> 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!
I've the same opinion; so +1
Hans
>
> -- ynezz
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
_______________________________________________
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