summaryrefslogtreecommitdiff
path: root/src/security/tpm
diff options
context:
space:
mode:
Diffstat (limited to 'src/security/tpm')
-rw-r--r--src/security/tpm/tss/tcg-1.2/tss_commands.h2
-rw-r--r--src/security/tpm/tss/tcg-1.2/tss_internal.h2
-rw-r--r--src/security/tpm/tss_errors.h2
3 files changed, 6 insertions, 0 deletions
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 <stdint.h>
+
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 <stdint.h>
+
/*
* 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 <stdint.h>
+
#define TPM_E_BASE 0x0
#define TPM_E_NON_FATAL 0x800