atomic: Fix BSD compilation
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user