summaryrefslogtreecommitdiff
path: root/source/tools/acpidump/acpidump.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/tools/acpidump/acpidump.h')
-rw-r--r--source/tools/acpidump/acpidump.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/tools/acpidump/acpidump.h b/source/tools/acpidump/acpidump.h
index 5d6ed795c..76843da28 100644
--- a/source/tools/acpidump/acpidump.h
+++ b/source/tools/acpidump/acpidump.h
@@ -128,6 +128,12 @@
#include "accommon.h"
#include "actables.h"
+#include <stdio.h>
+#include <fcntl.h>
+#include <errno.h>
+#include <sys/stat.h>
+
+
/* Globals */
EXTERN BOOLEAN INIT_GLOBAL (Gbl_SummaryMode, FALSE);
@@ -139,6 +145,12 @@ EXTERN ACPI_FILE INIT_GLOBAL (Gbl_OutputFile, NULL);
EXTERN char INIT_GLOBAL (*Gbl_OutputFilename, NULL);
EXTERN UINT64 INIT_GLOBAL (Gbl_RsdpBase, 0);
+/* Globals required for use with ACPICA modules */
+
+#ifdef _DECLARE_GLOBALS
+UINT8 AcpiGbl_IntegerByteWidth = 8;
+#endif
+
/* Action table used to defer requested options */
typedef struct ap_dump_action