summaryrefslogtreecommitdiff
path: root/firmware/lib21/include/vb21_struct.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/lib21/include/vb21_struct.h')
-rw-r--r--firmware/lib21/include/vb21_struct.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/firmware/lib21/include/vb21_struct.h b/firmware/lib21/include/vb21_struct.h
index 937737f3..bd1273c0 100644
--- a/firmware/lib21/include/vb21_struct.h
+++ b/firmware/lib21/include/vb21_struct.h
@@ -14,6 +14,10 @@
#include "2id.h"
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
/*
* Magic numbers used by vb21_struct_common.magic.
*
@@ -339,4 +343,8 @@ struct vb21_fw_preamble {
#define EXPECTED_VB21_FW_PREAMBLE_SIZE (EXPECTED_VB21_STRUCT_COMMON_SIZE + 20)
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#endif /* VBOOT_REFERENCE_VB21_STRUCT_H_ */