summaryrefslogtreecommitdiff
path: root/source/include/actbl3.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/include/actbl3.h')
-rw-r--r--source/include/actbl3.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/include/actbl3.h b/source/include/actbl3.h
index ce69acd4549c..1afc341d3159 100644
--- a/source/include/actbl3.h
+++ b/source/include/actbl3.h
@@ -45,6 +45,8 @@
#define __ACTBL3_H__
+#pragma pack(push) /* Set default struct packing */
+
/*******************************************************************************
*
* Additional ACPI Tables (3)
@@ -732,8 +734,6 @@ typedef struct acpi_tpm2_control
} ACPI_TPM2_CONTROL;
-/* Reset to default packing */
-
-#pragma pack()
+#pragma pack(pop) /* Restore original struct packing */
#endif /* __ACTBL3_H__ */