diff --git a/osdep/threads-posix.h b/osdep/threads-posix.h index 482e4a8f67..4cda0bebfc 100644 --- a/osdep/threads-posix.h +++ b/osdep/threads-posix.h @@ -23,6 +23,11 @@ #include "common/common.h" #include "config.h" +// We make use of NON-POSIX pthreads functions and certain systems +// require this header to build without issues. (ex: OpenBSD) +#if HAVE_BSD_THREAD_NAME +#include +#endif #include "osdep/compiler.h" #include "timer.h"