summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/acapps.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/acpica/acapps.h')
-rw-r--r--drivers/acpi/acpica/acapps.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/acapps.h b/drivers/acpi/acpica/acapps.h
index 247f30c33e21..bc385347932e 100644
--- a/drivers/acpi/acpica/acapps.h
+++ b/drivers/acpi/acpica/acapps.h
@@ -44,6 +44,10 @@
#ifndef _ACAPPS
#define _ACAPPS
+#ifdef ACPI_USE_STANDARD_HEADERS
+#include <sys/stat.h>
+#endif /* ACPI_USE_STANDARD_HEADERS */
+
/* Common info for tool signons */
#define ACPICA_NAME "Intel ACPI Component Architecture"