From 4958be9f18b9d7ef59b243581e4ba41b8b344715 Mon Sep 17 00:00:00 2001 From: +merlan #flirora Date: Wed, 18 Sep 2024 09:38:58 -0400 Subject: [PATCH] Include correct header for FreeBSD --- src/framework/global/runtime.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/framework/global/runtime.cpp b/src/framework/global/runtime.cpp index 9da72ea46c49d..d7cd0d67f4df5 100644 --- a/src/framework/global/runtime.cpp +++ b/src/framework/global/runtime.cpp @@ -27,6 +27,9 @@ #if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) || defined(Q_OS_MACOS) #include #endif +#if defined(Q_OS_FREEBSD) +#include // Needed for pthread_setname_np on FreeBSD +#endif static thread_local std::string s_threadName;