ggml : add pthread includes on FreeBSD (#9258)
This commit is contained in:
parent
6e7d133a5f
commit
f771d064a9
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue