mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-23 13:05:27 +00:00
src: add pthread_np.h include for FreeBSD
On FreeBSD the non-portable pthread APIs need to be obtained via the pthread_np.h header. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
5bff668dfb
commit
71ebda3af1
@ -23,6 +23,10 @@
|
||||
|
||||
#include "virthread.h"
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
# include <pthread_np.h>
|
||||
#endif
|
||||
|
||||
#include <unistd.h>
|
||||
#include <inttypes.h>
|
||||
#if HAVE_SYS_SYSCALL_H
|
||||
|
Loading…
x
Reference in New Issue
Block a user