[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [qemu-xen-unstable] Do not #include <pci/header.h> unless CONFIG_PASSTHROUGH



commit 831377529c58ed43be11f6dbc518cbbefb4ce67f
Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Date:   Mon Jul 20 12:22:59 2009 +0100

    Do not #include <pci/header.h> unless CONFIG_PASSTHROUGH
    
    Attached patch fixes an ioemu build error on NetBSD where
    CONFIG_PASSTHROUGH is not (yet) defined.
    
    Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>
---
 hw/piix4acpi.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/hw/piix4acpi.c b/hw/piix4acpi.c
index 9c5fdee..85b8ac3 100644
--- a/hw/piix4acpi.c
+++ b/hw/piix4acpi.c
@@ -40,7 +40,9 @@
 #define PIIX4ACPI_LOGLEVEL PIIX4ACPI_LOG_INFO
 #define PIIX4ACPI_LOG(level, fmt, ...) do { if (level <= PIIX4ACPI_LOGLEVEL) 
qemu_log(fmt, ## __VA_ARGS__); } while (0)
 
+#ifdef CONFIG_PASSTHROUGH
 #include <pci/header.h>
+#endif
 
 /* PM1a_CNT bits, as defined in the ACPI specification. */
 #define SCI_EN            (1 <<  0)
--
generated by git-patchbot for /home/xen/git/qemu-xen-unstable.git

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.