summaryrefslogtreecommitdiff
path: root/include/crypto/mscode.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/crypto/mscode.h')
-rw-r--r--include/crypto/mscode.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/crypto/mscode.h b/include/crypto/mscode.h
index 551058b96e6..678e69001b9 100644
--- a/include/crypto/mscode.h
+++ b/include/crypto/mscode.h
@@ -9,6 +9,10 @@
#ifndef __UBOOT__
#include <crypto/hash_info.h>
#endif
+#if CONFIG_IS_ENABLED(MBEDTLS_LIB_X509)
+#include <mbedtls/asn1.h>
+#include <mbedtls/oid.h>
+#endif
struct pefile_context {
#ifndef __UBOOT__