From 643898034e176f5883ab70203ed01670d809c3b7 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 1 Oct 2009 12:28:54 +0100 Subject: stubdom/minios: re-structure headers As part of making stubdom usable on NetBSD, it is necessary to restructure the minios headers to avoid conflicts with NetBSD's crossbuild toolchain. Signed-off-by: Christoph Egger Acked-by: Samuel Thibault --- extras/mini-os/pcifront.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'extras/mini-os/pcifront.c') diff --git a/extras/mini-os/pcifront.c b/extras/mini-os/pcifront.c index 70ea89b82d..d8a5a946fc 100644 --- a/extras/mini-os/pcifront.c +++ b/extras/mini-os/pcifront.c @@ -3,14 +3,16 @@ * Based on blkfront.c. */ -#include -#include -#include +#include +#include +#include +#include +#include #include -#include -#include -#include -#include +#include +#include +#include +#include #define PCI_DEVFN(slot, func) ((((slot) & 0x1f) << 3) | ((func) & 0x07)) -- cgit v1.2.3