From e89f64ad3d9f0bdba290b4e60a3ad02bfd584c97 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Sun, 29 Jun 2025 21:18:41 -0400 Subject: Add strlcat to append list --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 04194ea..5526f95 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,6 +15,8 @@ include(CheckFunctionExists) check_function_exists(strlcat HAVE_STRLCAT) if(HAVE_STRLCAT) add_definitions(-DHAVE_STRLCAT=1) +else() + list(APPEND SRC_FILES src/strlcat.c) endif() set(SRC_FILES -- cgit v1.2.3