From c4e41937150beab78ba5d492b7b22799d20a0ee4 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Thu, 1 Nov 2018 11:29:50 +0100 Subject: src: Add missing include Change-Id: Idf10a09745756887a517da4c26db7a90a1bf9543 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/29403 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- src/security/tpm/tss/tcg-1.2/tss_commands.h | 2 ++ src/security/tpm/tss/tcg-1.2/tss_internal.h | 2 ++ src/security/tpm/tss_errors.h | 2 ++ 3 files changed, 6 insertions(+) (limited to 'src/security/tpm') diff --git a/src/security/tpm/tss/tcg-1.2/tss_commands.h b/src/security/tpm/tss/tcg-1.2/tss_commands.h index 9d30bfc2a2..acdc8be713 100644 --- a/src/security/tpm/tss/tcg-1.2/tss_commands.h +++ b/src/security/tpm/tss/tcg-1.2/tss_commands.h @@ -14,6 +14,8 @@ * GNU General Public License for more details. */ +#include + const struct s_tpm_extend_cmd{ uint8_t buffer[34]; uint16_t pcrNum; diff --git a/src/security/tpm/tss/tcg-1.2/tss_internal.h b/src/security/tpm/tss/tcg-1.2/tss_internal.h index 01912bb78e..e999cb947f 100644 --- a/src/security/tpm/tss/tcg-1.2/tss_internal.h +++ b/src/security/tpm/tss/tcg-1.2/tss_internal.h @@ -6,6 +6,8 @@ #ifndef TCG_TSS_INTERNAL_H_ #define TCG_TSS_INTERNAL_H_ +#include + /* * These numbers derive from adding the sizes of command fields as shown in the * TPM commands manual. diff --git a/src/security/tpm/tss_errors.h b/src/security/tpm/tss_errors.h index c80ffa15f3..316661cd0a 100644 --- a/src/security/tpm/tss_errors.h +++ b/src/security/tpm/tss_errors.h @@ -12,6 +12,8 @@ #ifndef TSS_ERRORS_H_ #define TSS_ERRORS_H_ +#include + #define TPM_E_BASE 0x0 #define TPM_E_NON_FATAL 0x800 -- cgit v1.2.3