summaryrefslogtreecommitdiff
path: root/source/include/acobject.h
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2014-02-17 17:10:41 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2014-02-17 17:10:41 +0000
commit526d99544ba42a5a2155021975b3b97da425819e (patch)
treef33eb960cbd87cb5fa516e45153eb6351dc8ea2e /source/include/acobject.h
parent7bf0bd8c239ae7e6cb5c98382db85377146519d6 (diff)
Notes
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 */