ggml : add pthread includes on FreeBSD (#9258)

This commit is contained in:
yuri@FreeBSD authored and GitHub committed 2024-09-02 18:25:30 +03:00
1 parent 6e7d133a5f
commit f771d064a9
1 file changed
+3
+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;