From 50f7119dfd15325c6889927499e4233f7453cb44 Mon Sep 17 00:00:00 2001 From: Mohan Krishnan Date: Mon, 25 Aug 2025 16:34:01 +0800 Subject: [PATCH] Fix undefined template std::basic_string (#726) Getting this error when compiling on Mac with clang 17 Simple fix, add the string header in src/llama-impl.h Co-authored-by: Mohan Krishnan --- src/llama-impl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/llama-impl.h b/src/llama-impl.h index cd4e0730..a223ce28 100644 --- a/src/llama-impl.h +++ b/src/llama-impl.h @@ -15,6 +15,7 @@ #include #include #include +#include #ifdef __GNUC__ #ifdef __MINGW32__