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/1.7.4~432 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=3764bc974c201e5130d5937e81a6104ea0db63b1;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp ggml : add pthread includes on FreeBSD (llama/9258) --- diff --git a/ggml/src/ggml.c b/ggml/src/ggml.c index a80edf6f..0e6bcba3 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;