Add missing pthread_np.h include on FreeBSD

This commit is contained in:
Yuri Victorovich 2024-08-30 23:34:15 -07:00
parent 0ab30f8d82
commit bd59dd9832

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;