summaryrefslogtreecommitdiffstats
path: root/sys/contrib
diff options
context:
space:
mode:
authoriwasaki <iwasaki@FreeBSD.org>2002-08-29 08:31:06 +0000
committeriwasaki <iwasaki@FreeBSD.org>2002-08-29 08:31:06 +0000
commit546572651326fb68958d7f06ce2de556b6f040a0 (patch)
treee37ae37b2f5baa554ce18bc9010efdd4e5c45c5f /sys/contrib
parentc4270b40c016de5aff1de8d99a1321cb338cb765 (diff)
downloadFreeBSD-src-546572651326fb68958d7f06ce2de556b6f040a0.zip
FreeBSD-src-546572651326fb68958d7f06ce2de556b6f040a0.tar.gz
Fix kernel build breakage when ACPI_DEBUG option is specified.
Diffstat (limited to 'sys/contrib')
-rw-r--r--sys/contrib/dev/acpica/acfreebsd.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/contrib/dev/acpica/acfreebsd.h b/sys/contrib/dev/acpica/acfreebsd.h
index 3889acd..e786c16 100644
--- a/sys/contrib/dev/acpica/acfreebsd.h
+++ b/sys/contrib/dev/acpica/acfreebsd.h
@@ -128,13 +128,15 @@
#include "acgcc.h"
#include <machine/acpica_machdep.h>
+#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 <sys/ctype.h>
#include <sys/param.h>
#include <sys/systm.h>
OpenPOWER on IntegriCloud