Skip to contentSkip to conversation

ioemu build fix

PATCH New Christoph Egger 1 participant 1 message Jul 9, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ioemu build fix

Hi!

Attached patch fixes an ioemu build error on NetBSD where CONFIG_PASSTHROUGH is not (yet) defined.

Signature · 6 lines
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Thomas M. McCoy, Giuliano Meroni
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
hw/piix4acpi.c +2 -0
index 9c5fdee..85b8ac3 100644
@@ -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)

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel