diff --git a/ggml/src/ggml.c b/ggml/src/ggml.c index 83140d757d0ce..6e2ebf283aed9 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;