ggml : add pthread includes on FreeBSD (#9258)

This commit is contained in:
yuri@FreeBSD 2024-09-02 08:25:30 -07:00 committed by GitHub
parent 6e7d133a5f
commit f771d064a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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;