From c4d2c0a1def839cdac4a31dc77572f8fc23cf263 Mon Sep 17 00:00:00 2001 From: Mitsuru IWASAKI Date: Thu, 29 Aug 2002 08:31:06 +0000 Subject: [PATCH] Fix kernel build breakage when ACPI_DEBUG option is specified. --- sys/contrib/dev/acpica/acfreebsd.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/contrib/dev/acpica/acfreebsd.h b/sys/contrib/dev/acpica/acfreebsd.h index 3889acdff284..e786c16b375b 100644 --- a/sys/contrib/dev/acpica/acfreebsd.h +++ b/sys/contrib/dev/acpica/acfreebsd.h @@ -128,13 +128,15 @@ #include "acgcc.h" #include +#ifdef _KERNEL +#include "opt_acpi.h" +#endif + #ifdef ACPI_DEBUG #define ACPI_DEBUG_OUTPUT /* for backward compatibility */ #endif #ifdef _KERNEL -#include "opt_acpi.h" - #include #include #include