aboutsummaryrefslogtreecommitdiff
path: root/devel/cppcommon/files/patch-source_threads_thread.cpp
blob: 08d6f0f11e85d4cd9804ed4ce5707c25ca79f10b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- source/threads/thread.cpp.orig	2026-02-27 14:10:30 UTC
+++ source/threads/thread.cpp
@@ -16,6 +16,9 @@
 #if defined(unix) || defined(__unix) || defined(__unix__) || defined(__APPLE__)
 #include <errno.h>
 #include <pthread.h>
+#if defined(__FreeBSD__)
+#include <pthread_np.h>
+#endif
 #include <sched.h>
 #include <time.h>
 #elif defined(_WIN32) || defined(_WIN64)