summaryrefslogtreecommitdiff
path: root/source/include/acbuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/include/acbuffer.h')
-rw-r--r--source/include/acbuffer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/include/acbuffer.h b/source/include/acbuffer.h
index a36a980aa954d..8e3cb3d831bed 100644
--- a/source/include/acbuffer.h
+++ b/source/include/acbuffer.h
@@ -44,6 +44,9 @@
#ifndef __ACBUFFER_H__
#define __ACBUFFER_H__
+
+#pragma pack(push) /* Set default struct packing */
+
/*
* Contains buffer structures for these predefined names:
* _FDE, _GRT, _GTM, _PLD, _SRT
@@ -243,4 +246,6 @@ typedef struct acpi_pld_info
#define ACPI_PLD_SET_HORIZ_OFFSET(dword,value) ACPI_SET_BITS (dword, 16, ACPI_16BIT_MASK, value) /* Offset 128+16=144, Len 16 */
+#pragma pack(pop) /* Restore original struct packing */
+
#endif /* ACBUFFER_H */