summaryrefslogtreecommitdiffstats
path: root/sys/i386/xen/mptable.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2011-07-16 14:06:02 +0000
committerjhb <jhb@FreeBSD.org>2011-07-16 14:06:02 +0000
commit53534ecdc0470a72dd7b32e4c39b1e51cc013844 (patch)
treecf5460dc9c4ff05925fb68d52ba59e1d0677a9ab /sys/i386/xen/mptable.c
parent0710dab3a6340960c8d895c456dc27233bcf8ebb (diff)
downloadFreeBSD-src-53534ecdc0470a72dd7b32e4c39b1e51cc013844.zip
FreeBSD-src-53534ecdc0470a72dd7b32e4c39b1e51cc013844.tar.gz
Fix build with NEW_PCIB defined.
Diffstat (limited to 'sys/i386/xen/mptable.c')
-rw-r--r--sys/i386/xen/mptable.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/i386/xen/mptable.c b/sys/i386/xen/mptable.c
index 22019ea..df9803c 100644
--- a/sys/i386/xen/mptable.c
+++ b/sys/i386/xen/mptable.c
@@ -32,11 +32,18 @@ __FBSDID("$FreeBSD$");
#include <sys/bus.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
+#ifdef NEW_PCIB
+#include <sys/rman.h>
+#endif
#include <vm/vm.h>
#include <vm/vm_param.h>
#include <vm/pmap.h>
+#ifdef NEW_PCIB
+#include <dev/pci/pcivar.h>
+#include <dev/pci/pcib_private.h>
+#endif
#include <x86/apicreg.h>
#include <x86/mptable.h>
#include <machine/frame.h>
OpenPOWER on IntegriCloud