aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2021-11-22 16:13:09 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2021-11-22 16:13:09 +0000
commitfc7207c87795da4533dc7f97287638f6da85b3b0 (patch)
tree1923d5d4ef9603569c15058622151371f3820102
parentfe66bcf9ff8623bf69a183c9eb8c5ce72cce7db6 (diff)
downloadsrc-fc7207c87795da4533dc7f97287638f6da85b3b0.tar.gz
src-fc7207c87795da4533dc7f97287638f6da85b3b0.zip
bhyve: Fix compile
We need err.h Fixes: 5cf21e48ccf11 ("bhyve: use a fixed 32 bit BAR base address") Sponsored by: Bechoff Automation GmbH & Co. KG
-rw-r--r--usr.sbin/bhyve/pci_emul.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/bhyve/pci_emul.c b/usr.sbin/bhyve/pci_emul.c
index 3eec3eb6f5f9..0b46bcc6200e 100644
--- a/usr.sbin/bhyve/pci_emul.c
+++ b/usr.sbin/bhyve/pci_emul.c
@@ -35,6 +35,7 @@ __FBSDID("$FreeBSD$");
#include <sys/linker_set.h>
#include <ctype.h>
+#include <err.h>
#include <errno.h>
#include <pthread.h>
#include <stdio.h>