Include <pthread_np.h> on FreeBSD to access pthread_setaffinity

This commit is contained in:
Gleb Popov 2024-09-15 16:57:04 +03:00 committed by Wim Taymans
parent 06c9d090e6
commit 1a73424f13

View file

@ -6,6 +6,9 @@
#include <unistd.h>
#include <sys/types.h>
#include <pthread.h>
#ifdef __FreeBSD__
#include <pthread_np.h>
#endif
#include <spa/utils/dict.h>
#include <spa/utils/defs.h>