summaryrefslogtreecommitdiffstats
path: root/source/common/adisasm.c
diff options
context:
space:
mode:
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