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

2020-03-25 Thread Rosen Penev
SYS_clock_gettime is gone with musl 1.2.0. Switch to using the normal function. This was done back in the day when uClibc was used when librt was separate. Since only glibc is impacted now, this should be fine. Added a link to rt just to be sure. Signed-off-by: Rosen Penev --- v2: Switched to

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

2020-03-24 Thread Rosen Penev
SYS_clock_gettime is gone with musl 1.2.0. Define it to the 64 bit version as musl 1.2.0 uses a 64-bit time_t. Signed-off-by: Rosen Penev --- src/odhcp6c.c | 4 1 file changed, 4 insertions(+) diff --git a/src/odhcp6c.c b/src/odhcp6c.c index 19a86f2..6077850 100644 --- a/src/odhcp6c.c +++