summaryrefslogtreecommitdiff
path: root/source/include/amlresrc.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/include/amlresrc.h')
-rw-r--r--source/include/amlresrc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/include/amlresrc.h b/source/include/amlresrc.h
index 3fcd9edd6..c54ae1f4d 100644
--- a/source/include/amlresrc.h
+++ b/source/include/amlresrc.h
@@ -119,6 +119,8 @@
#define __AMLRESRC_H
+#pragma pack(push) /* Set default struct packing */
+
/*
* Resource descriptor tags, as defined in the ACPI specification.
* Used to symbolically reference fields within a descriptor.
@@ -646,4 +648,7 @@ typedef union aml_resource
} AML_RESOURCE;
+
+#pragma pack(pop) /* Restore original struct packing */
+
#endif