summaryrefslogtreecommitdiffstats
path: root/usr.sbin/acpi/amldb/aml/aml_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/acpi/amldb/aml/aml_common.c')
-rw-r--r--usr.sbin/acpi/amldb/aml/aml_common.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/acpi/amldb/aml/aml_common.c b/usr.sbin/acpi/amldb/aml/aml_common.c
index fe98e1e..4721b7f 100644
--- a/usr.sbin/acpi/amldb/aml/aml_common.c
+++ b/usr.sbin/acpi/amldb/aml/aml_common.c
@@ -42,7 +42,10 @@
#include <sys/kernel.h>
#include <sys/sysctl.h>
#include <sys/systm.h>
+#include <sys/acpi.h>
+#ifndef ACPI_NO_OSDFUNC_INLINE
#include <machine/acpica_osd.h>
+#endif /* !ACPI_NO_OSDFUNC_INLINE */
#endif /* !_KERNEL */
#include <dev/acpi/aml/aml_common.h>
OpenPOWER on IntegriCloud