summaryrefslogtreecommitdiff
path: root/source/include/acobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/include/acobject.h')
-rw-r--r--source/include/acobject.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/include/acobject.h b/source/include/acobject.h
index 654ec8283cfd..040f5b6277e1 100644
--- a/source/include/acobject.h
+++ b/source/include/acobject.h
@@ -44,6 +44,8 @@
#ifndef _ACOBJECT_H
#define _ACOBJECT_H
+#pragma pack(push) /* Set default struct packing */
+
/* acpisrc:StructDefs -- for acpisrc conversion */
@@ -581,6 +583,6 @@ typedef union acpi_descriptor
} ACPI_DESCRIPTOR;
-#pragma pack()
+#pragma pack(pop) /* Restore original struct packing */
#endif /* _ACOBJECT_H */