ACPICA: EFI/EDK2: Sort acpi.h inclusion order
authorShao Ming <smbest163@163.com>
Thu, 3 Aug 2017 06:26:44 +0000 (14:26 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 3 Aug 2017 21:34:16 +0000 (23:34 +0200)
ACPICA commit 43ff22215f0fcd8ca80abec5712a07d2cc9a801d

acpi.h inclusion order need to be changed to build EDK-II ports of
acpidump on Windows as va_list is used before it's definition in that
environment. As we only need to ensure order of acenv.h/acenvex.h to
be pre/post ACPICA type definitions, inclusion order is changed to make
MSVC builds happy. Lv Zheng.

Link: https://github.com/acpica/acpica/commit/43ff2221
Signed-off-by: "Shao, Ming" <smbest163@163.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Shao Ming <smbest163@163.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/acpi/acpi.h

index ca036620703c6be8c726dd1b77c3e7fc89d9de2a..0887d7cbb7e1428e08e7c9b130ccbd354eb8be78 100644 (file)
 #include <acpi/actypes.h>              /* ACPICA data types and structures */
 #include <acpi/acexcep.h>              /* ACPICA exceptions */
 #include <acpi/actbl.h>                /* ACPI table definitions */
-#include <acpi/acoutput.h>             /* Error output and Debug macros */
 #include <acpi/acrestyp.h>             /* Resource Descriptor structs */
+#include <acpi/platform/acenvex.h>     /* Extra environment-specific items */
+#include <acpi/acoutput.h>             /* Error output and Debug macros */
 #include <acpi/acpiosxf.h>             /* OSL interfaces (ACPICA-to-OS) */
 #include <acpi/acpixf.h>               /* ACPI core subsystem external interfaces */
-#include <acpi/platform/acenvex.h>     /* Extra environment-specific items */
 
 #endif                         /* __ACPI_H__ */