On Sun, Apr 5, 2020 at 4:48 PM 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
Whoops. accidentally sent this. Changed status on patchwork.
> ---
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
---
src/dhcpv6-ia.c | 8
src/odhcpd.c| 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/dh
Hi,
On Fri, Mar 27, 2020 at 12:07 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
> ---
> src/dhcpv6-ia.c | 8
> src/odhcpd.c| 2
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
---
src/dhcpv6-ia.c | 8
src/odhcpd.c| 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/dh
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.
Added a link to librt as that is needed for glibc.
Signed-off-by: Rosen Penev
---
v2: switched to function
CMakeLists.txt | 2 +-
src/odhcpd.c | 2 +-
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
---
src/odhcpd.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/odhcpd.c b/src/odhcpd.c
index