diff --git a/src/util/virthread.c b/src/util/virthread.c index 40792afdc069081ae12b700d76479916d7b38427..37b2cdfbe92a07c964d10b18bfbbd21ffe529896 100644 --- a/src/util/virthread.c +++ b/src/util/virthread.c @@ -23,6 +23,10 @@ #include "virthread.h" +#ifdef __FreeBSD__ +# include +#endif + #include #include #if HAVE_SYS_SYSCALL_H