From: yuri@FreeBSD Date: Mon, 2 Sep 2024 15:25:30 +0000 (-0700) Subject: ggml : add pthread includes on FreeBSD (llama/9258) X-Git-Tag: upstream/0.0.1642~398 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=07b17f9d3caa6ae8a04cc7da786d155f059d0804;p=pkg%2Fggml%2Fsources%2Fggml ggml : add pthread includes on FreeBSD (llama/9258) --- diff --git a/src/ggml.c b/src/ggml.c index a80edf6f..0e6bcba3 100644 --- a/src/ggml.c +++ b/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;