diff options
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | util/oslib-posix.c | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -582,6 +582,8 @@ FreeBSD) audio_possible_drivers="oss sdl pa" # needed for kinfo_getvmmap(3) in libutil.h LIBS="-lutil $LIBS" + # needed for kinfo_getproc + libs_qga="-lutil $libs_qga" netmap="" # enable netmap autodetect HOST_VARIANT_DIR="freebsd" ;; diff --git a/util/oslib-posix.c b/util/oslib-posix.c index 67c65893a4..f63146407f 100644 --- a/util/oslib-posix.c +++ b/util/oslib-posix.c @@ -45,6 +45,7 @@ #ifdef __FreeBSD__ #include <sys/sysctl.h> +#include <sys/user.h> #include <libutil.h> #endif |