SYS_clock_gettime is gone with musl 1.2.0, leaving only the 64-bit variant Also fixed two format strings that fail as time_t is 64-bit with 1.2.0.
Signed-off-by: Rosen Penev <ros...@gmail.com> --- src/odhcpd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/odhcpd.c b/src/odhcpd.c index 4b8e589..6015404 100644 --- a/src/odhcpd.c +++ b/src/odhcpd.c @@ -43,7 +43,9 @@ #include <libubox/uloop.h> #include "odhcpd.h" - +#ifndef SYS_clock_gettime +#define SYS_clock_gettime SYS_clock_gettime64 +#endif static int ioctl_sock = -1; static int urandom_fd = -1; -- 2.25.1 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel