From: yuri@FreeBSD Date: Mon, 2 Sep 2024 15:25:30 +0000 (-0700) Subject: ggml : add pthread includes on FreeBSD (#9258) X-Git-Tag: upstream/0.0.4488~831 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=f771d064a95d212ddadea452ad0cc1e42b2c3db3;p=pkg%2Fggml%2Fsources%2Fllama.cpp ggml : add pthread includes on FreeBSD (#9258) --- diff --git a/ggml/src/ggml.c b/ggml/src/ggml.c index 83140d75..6e2ebf28 100644 --- a/ggml/src/ggml.c +++ b/ggml/src/ggml.c @@ -147,6 +147,9 @@ static int sched_yield (void) { #include #include #include +#if defined(__FreeBSD__) +#include +#endif typedef void * thread_ret_t;