ggml : add pthread includes on FreeBSD (#9258)
This commit is contained in:
1 parent
6e7d133a5f
commit
f771d064a9
1 file changed
+3
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user