Re: [OpenWrt-Devel] [PATCHv3] odhcpd: fix compilation with musl 1.2.0

2020-03-26 Thread Hans Dedecker
On Thu, Mar 26, 2020 at 12:13 AM Rosen Penev wrote: > > SYS_clock_gettime is gone with musl 1.2.0. Switched to the function. > > Also fixed two format strings that fail as time_t is 64-bit with 1.2.0. > > Signed-off-by: Rosen Penev > --- > v3: no need for linking to librt > v2: switch to functi

[OpenWrt-Devel] [PATCHv3] odhcpd: fix compilation with musl 1.2.0

2020-03-25 Thread Rosen Penev
SYS_clock_gettime is gone with musl 1.2.0. Switched to the function. Also fixed two format strings that fail as time_t is 64-bit with 1.2.0. Signed-off-by: Rosen Penev --- v3: no need for linking to librt v2: switch to function src/dhcpv6-ia.c | 8 src/odhcpd.c| 2 +- 2 files cha