summaryrefslogtreecommitdiffstats
path: root/source/common/adisasm.c
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2012-08-16 17:26:22 +0000
committerjkim <jkim@FreeBSD.org>2012-08-16 17:26:22 +0000
commit08e6f22ac3350a67c38e9b42b5dce2a7d5fa08b4 (patch)
treea28a9676fa0b9e969cfd83d7a508660c754c8b3e /source/common/adisasm.c
parentdbd90a99cde8c4a942a41f095faa72f479694173 (diff)
downloadFreeBSD-src-08e6f22ac3350a67c38e9b42b5dce2a7d5fa08b4.zip
FreeBSD-src-08e6f22ac3350a67c38e9b42b5dce2a7d5fa08b4.tar.gz
Import ACPICA 20120816.
Diffstat (limited to 'source/common/adisasm.c')
-rw-r--r--source/common/adisasm.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/source/common/adisasm.c b/source/common/adisasm.c
index cc58376..fab3617 100644
--- a/source/common/adisasm.c
+++ b/source/common/adisasm.c
@@ -60,9 +60,13 @@
#define _COMPONENT ACPI_TOOLS
ACPI_MODULE_NAME ("adisasm")
-
+/*
+ * Older versions of Bison won't emit this external in the generated header.
+ * Newer versions do emit the external, so we don't need to do it.
+ */
+#ifndef ASLCOMPILER_ASLCOMPILERPARSE_H
extern int AslCompilerdebug;
-
+#endif
ACPI_STATUS
LsDisplayNamespace (
OpenPOWER on IntegriCloud