mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-02-07 05:49:44 +01:00
ggml : add pthread includes on FreeBSD (llama/9258)
This commit is contained in:
parent
fcffc912a9
commit
3764bc974c
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user