summaryrefslogtreecommitdiff
path: root/src/util/virthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/virthread.c')
-rw-r--r--src/util/virthread.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/virthread.c b/src/util/virthread.c
index 40792afdc0..37b2cdfbe9 100644
--- a/src/util/virthread.c
+++ b/src/util/virthread.c
@@ -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