$NetBSD: patch-3rdparty_bx_src_thread.cpp,v 1.5 2023/02/27 11:23:23 wiz Exp $ NetBSD does not provide pthread_np.h. https://github.com/bkaradzic/bx/issues/295 --- 3rdparty/bx/src/thread.cpp.orig 2023-02-21 17:59:53.000000000 +0000 +++ 3rdparty/bx/src/thread.cpp @@ -25,7 +25,9 @@ || BX_PLATFORM_NX # include # if BX_PLATFORM_BSD +#ifndef __NetBSD__ # include +#endif # endif // BX_PLATFORM_BSD # if BX_PLATFORM_LINUX && (BX_CRT_GLIBC < 21200) # include