atomic: Fix BSD compilation

This commit is contained in:
Ani
2026-07-20 17:07:24 +02:00
parent ee37ef277d
commit 63851f4242
+4
View File
@@ -55,6 +55,10 @@ static bool has_waitv()
#include <pthread.h> #include <pthread.h>
#endif #endif
#if defined(__DragonFly__) || defined(__FreeBSD__) || defined(__OpenBSD__)
#include <pthread_np.h>
#endif
#include "asm.hpp" #include "asm.hpp"
#include "endian.hpp" #include "endian.hpp"
#include "tsc.hpp" #include "tsc.hpp"