mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 09:48:00 -04:00
18 lines
614 B
C
18 lines
614 B
C
$NetBSD: patch-qemu-xen-traditional_hw_piix4acpi.c,v 1.1 2013/05/15 06:58:50 jnemeth Exp $
|
|
|
|
--- qemu-xen-traditional/hw/piix4acpi.c.orig 2012-05-30 10:21:32.000000000 +0200
|
|
+++ qemu-xen-traditional/hw/piix4acpi.c 2012-05-30 10:23:11.000000000 +0200
|
|
@@ -41,8 +41,12 @@
|
|
#define PIIX4ACPI_LOG(level, fmt, ...) do { if (level <= PIIX4ACPI_LOGLEVEL) qemu_log(fmt, ## __VA_ARGS__); } while (0)
|
|
|
|
#ifdef CONFIG_PASSTHROUGH
|
|
+#ifdef __NetBSD__
|
|
+#include <pciutils/header.h>
|
|
+#else
|
|
#include <pci/header.h>
|
|
#endif
|
|
+#endif
|
|
|
|
/* PM1a_CNT bits, as defined in the ACPI specification. */
|
|
#define SCI_EN (1 << 0)
|