summaryrefslogtreecommitdiff
path: root/src/vboot
diff options
context:
space:
mode:
Diffstat (limited to 'src/vboot')
-rw-r--r--src/vboot/vboot_common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vboot/vboot_common.h b/src/vboot/vboot_common.h
index 8421ecb640..8c92f7f131 100644
--- a/src/vboot/vboot_common.h
+++ b/src/vboot/vboot_common.h
@@ -17,6 +17,7 @@
#include <commonlib/region.h>
#include <stdint.h>
+#include <compiler.h>
#include <vboot_api.h>
#include <vboot_struct.h>
@@ -42,7 +43,7 @@ struct vboot_handoff {
VbInitParams init_params;
uint32_t selected_firmware;
char shared_data[VB_SHARED_DATA_MIN_SIZE];
-} __attribute__((packed));
+} __packed;
/*
* vboot_get_handoff_info returns pointer to the vboot_handoff structure if