git: fc7207c87795 - main - bhyve: Fix compile
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 22 Nov 2021 16:14:04 UTC
The branch main has been updated by manu:
URL: https://cgit.FreeBSD.org/src/commit/?id=fc7207c87795da4533dc7f97287638f6da85b3b0
commit fc7207c87795da4533dc7f97287638f6da85b3b0
Author: Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2021-11-22 16:13:09 +0000
Commit: Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2021-11-22 16:13:09 +0000
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
---
usr.sbin/bhyve/pci_emul.c | 1 +
1 file changed, 1 insertion(+)
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>