The normal syscall is removed. Use the 64 bit version as musl 1.2.0 defaults to a 64-bit time_t.
Signed-off-by: Rosen Penev <ros...@gmail.com> --- system-linux.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/system-linux.c b/system-linux.c index d533be8..ff4e1fe 100644 --- 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 + #include <string.h> #include <fcntl.h> #include <glob.h> -- 2.25.1 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel