mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-11-11 13:30:35 +00:00
ggml : add pthread includes on FreeBSD (#9258)
This commit is contained in:
parent
6e7d133a5f
commit
f771d064a9
@ -147,6 +147,9 @@ static int sched_yield (void) {
|
|||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
#include <stdatomic.h>
|
#include <stdatomic.h>
|
||||||
#include <sched.h>
|
#include <sched.h>
|
||||||
|
#if defined(__FreeBSD__)
|
||||||
|
#include <pthread_np.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef void * thread_ret_t;
|
typedef void * thread_ret_t;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user