From c3e365fdccb501d844a927f9995781d85b24a0b3 Mon Sep 17 00:00:00 2001 From: Antoine Date: Sun, 15 Sep 2024 11:24:04 +0200 Subject: [PATCH] strlcpy requires glibc >= 2.38 --- build.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.zig b/build.zig index 5428ff4..bbd0d1b 100644 --- a/build.zig +++ b/build.zig @@ -394,8 +394,6 @@ const autoconf = .{ .HAVE_STRERROR_R = 1, .HAVE_STRINGS_H = 1, .HAVE_STRING_H = 1, - .HAVE_STRLCAT = 1, - .HAVE_STRLCPY = 1, .HAVE_STRNLEN = 1, .HAVE_STRSIGNAL = 1, .HAVE_STRUCT_OPTION = 1, @@ -513,6 +511,8 @@ const autoconf = .{ .HAVE_SETPROCTITLE_FAST = null, .HAVE_SSL_CTX_SET_CERT_CB = null, .HAVE_SSL_CTX_SET_NUM_TICKETS = null, + .HAVE_STRLCAT = null, + .HAVE_STRLCPY = null, .HAVE_STRUCT_SOCKADDR_SA_LEN = null, .HAVE_SYS_EVENT_H = null, .HAVE_SYS_PROCCTL_H = null,