summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorEd Maste2016-11-22 02:32:45 +0100
committerStefan Hajnoczi2016-11-22 11:56:01 +0100
commita7764f1548ef9946af30a8f96be9cef10761f0c1 (patch)
treeac3523345e85ed882e54f5ead831aff104029dc7 /configure
parentMerge remote-tracking branch 'jtc/tags/block-pull-request' into staging (diff)
downloadqemu-a7764f1548ef9946af30a8f96be9cef10761f0c1.tar.gz
qemu-a7764f1548ef9946af30a8f96be9cef10761f0c1.tar.xz
qemu-a7764f1548ef9946af30a8f96be9cef10761f0c1.zip
Fix FreeBSD (10.x) build after 7dc9ae43
Include sys/user.h for declaration of 'struct kinfo_proc'. Add -lutil to qemu-ga link for kinfo_getproc. Signed-off-by: Ed Maste <emaste@freebsd.org> Message-id: 1479778365-11315-1-git-send-email-emaste@freebsd.org Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 7d2a34e036..5e66828e64 100755
--- a/configure
+++ b/configure
@@ -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"
;;