Fix missing include on FreeBSD (#6864)
This commit is contained in:
parent
2318adabd3
commit
c35dde7c9c
|
|
@ -276,6 +276,7 @@ Zhen Yan
|
|||
Zhou Shen
|
||||
Zhouyi Shen
|
||||
Zixi Li
|
||||
apocelipes
|
||||
dependabot[bot]
|
||||
february cozzocrea
|
||||
sumpster
|
||||
|
|
|
|||
|
|
@ -41,6 +41,9 @@
|
|||
#if defined(__APPLE__) && !defined(__arm64__) && !defined(__POWERPC__)
|
||||
# include <cpuid.h> // For __cpuid_count()
|
||||
#endif
|
||||
#if defined(__FreeBSD__)
|
||||
# include <pthread_np.h> // For pthread_getaffinity_np()
|
||||
#endif
|
||||
|
||||
#if defined(__APPLE__) && defined(__MACH__)
|
||||
# include <mach/mach.h> // For task_info()
|
||||
|
|
|
|||
Loading…
Reference in New Issue