diff --git a/src/util/threadnames.cpp b/src/util/threadnames.cpp index 7b0d744aeca..b221b0c975a 100644 --- a/src/util/threadnames.cpp +++ b/src/util/threadnames.cpp @@ -9,6 +9,11 @@ #include #include +#if (defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)) +#include +#include +#endif + #include #ifdef HAVE_SYS_PRCTL_H