Skip to content

Commit

Permalink
Include correct header for FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
bluebear94 committed Sep 18, 2024
1 parent 55f35d5 commit 4958be9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/framework/global/runtime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) || defined(Q_OS_MACOS)
#include <pthread.h>
#endif
#if defined(Q_OS_FREEBSD)
#include <pthread_np.h> // Needed for pthread_setname_np on FreeBSD
#endif

static thread_local std::string s_threadName;

Expand Down

0 comments on commit 4958be9

Please sign in to comment.