ggml : add pthread includes on FreeBSD (llama/9258)

This commit is contained in:
yuri@FreeBSD
2024-09-24 19:45:08 +03:00
committed by Georgi Gerganov
parent fcffc912a9
commit 3764bc974c
+3
View File
@@ -147,6 +147,9 @@ static int sched_yield (void) {
#include <pthread.h>
#include <stdatomic.h>
#include <sched.h>
#if defined(__FreeBSD__)
#include <pthread_np.h>
#endif
typedef void * thread_ret_t;