summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Fritsch <sf@cvs.openbsd.org>2019-01-10 18:59:57 +0000
committerStefan Fritsch <sf@cvs.openbsd.org>2019-01-10 18:59:57 +0000
commit2bd140acfa920f5200f513da2cf5df403805c3df (patch)
treee030ed134b4b480626a66a894264130a73ce26a8
parentc814031cbe996af31b7f29936c0163dd04207886 (diff)
unbreak vmd build
include new virtio_pcireg.h header
-rw-r--r--usr.sbin/vmd/vioscsi.c3
-rw-r--r--usr.sbin/vmd/virtio.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/vmd/vioscsi.c b/usr.sbin/vmd/vioscsi.c
index 12fef2f4778..6e7d2542dfa 100644
--- a/usr.sbin/vmd/vioscsi.c
+++ b/usr.sbin/vmd/vioscsi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vioscsi.c,v 1.11 2018/08/25 04:16:09 ccardenas Exp $ */
+/* $OpenBSD: vioscsi.c,v 1.12 2019/01/10 18:59:56 sf Exp $ */
/*
* Copyright (c) 2017 Carlos Cardenas <ccardenas@openbsd.org>
@@ -17,6 +17,7 @@
*/
#include <sys/types.h>
+#include <dev/pci/virtio_pcireg.h>
#include <dev/pv/vioscsireg.h>
#include <scsi/scsi_all.h>
#include <scsi/scsi_disk.h>
diff --git a/usr.sbin/vmd/virtio.c b/usr.sbin/vmd/virtio.c
index b7f6c12c2c2..456334a161e 100644
--- a/usr.sbin/vmd/virtio.c
+++ b/usr.sbin/vmd/virtio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: virtio.c,v 1.75 2018/12/06 09:20:06 claudio Exp $ */
+/* $OpenBSD: virtio.c,v 1.76 2019/01/10 18:59:56 sf Exp $ */
/*
* Copyright (c) 2015 Mike Larkin <mlarkin@openbsd.org>
@@ -23,6 +23,7 @@
#include <dev/pci/pcireg.h>
#include <dev/pci/pcidevs.h>
#include <dev/pv/virtioreg.h>
+#include <dev/pci/virtio_pcireg.h>
#include <dev/pv/vioblkreg.h>
#include <dev/pv/vioscsireg.h>