summaryrefslogtreecommitdiff
path: root/source/include/actbl2.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/include/actbl2.h')
-rw-r--r--source/include/actbl2.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/include/actbl2.h b/source/include/actbl2.h
index ae46ad8d8124..514ecb0dc93e 100644
--- a/source/include/actbl2.h
+++ b/source/include/actbl2.h
@@ -45,6 +45,8 @@
#define __ACTBL2_H__
+#pragma pack(push) /* Set default struct packing */
+
/*******************************************************************************
*
* Additional ACPI Tables (2)
@@ -1416,8 +1418,6 @@ typedef struct acpi_table_wdrt
} ACPI_TABLE_WDRT;
-/* Reset to default packing */
-
-#pragma pack()
+#pragma pack(pop) /* Restore original struct packing */
#endif /* __ACTBL2_H__ */