aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudio Carvalho <cclaudio@linux.vnet.ibm.com>2016-09-28 05:01:21 -0300
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-10-10 15:29:35 +1100
commit984476937057bb2990a1f976664790d0e16cfb0a (patch)
tree68d0d0eff28f5425e768c03d35bf382934f7f822
parent5078e0fe356c9376525ac2d1a07d90a6219b5ee0 (diff)
downloadskiboot-984476937057bb2990a1f976664790d0e16cfb0a.zip
skiboot-984476937057bb2990a1f976664790d0e16cfb0a.tar.gz
skiboot-984476937057bb2990a1f976664790d0e16cfb0a.tar.bz2
libstb/tss: include tpm_chip.h in trustedbootCmds.H
TrustedbootCmds.H defines TpmTarget type variables, but this type is declared only in tpm_chip.h. This includes tpm_chip.h in trustedbootCmds.H. Signed-off-by: Claudio Carvalho <cclaudio@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r--libstb/tss/trustedbootCmds.H3
1 files changed, 3 insertions, 0 deletions
diff --git a/libstb/tss/trustedbootCmds.H b/libstb/tss/trustedbootCmds.H
index 1f03eeb..64affe9 100644
--- a/libstb/tss/trustedbootCmds.H
+++ b/libstb/tss/trustedbootCmds.H
@@ -39,6 +39,9 @@
// -----------------------------------------------
#ifdef __HOSTBOOT_MODULE
#include <secureboot/trustedbootif.H>
+#else
+#include "trustedbootUtils.H"
+#include "../tpm_chip.h"
#endif
#include "trustedboot.H"
#include "trustedTypes.H"