mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-11-04 09:32:00 +00:00 
			
		
		
		
	ggml : add pthread includes on FreeBSD (#9258)
This commit is contained in:
		@@ -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