From a7764f1548ef9946af30a8f96be9cef10761f0c1 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Mon, 21 Nov 2016 20:32:45 -0500 Subject: 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 Message-id: 1479778365-11315-1-git-send-email-emaste@freebsd.org Signed-off-by: Stefan Hajnoczi --- util/oslib-posix.c | 1 + 1 file changed, 1 insertion(+) (limited to 'util') diff --git a/util/oslib-posix.c b/util/oslib-posix.c index 67c6589..f631464 100644 --- a/util/oslib-posix.c +++ b/util/oslib-posix.c @@ -45,6 +45,7 @@ #ifdef __FreeBSD__ #include +#include #include #endif -- cgit v1.1