diff --git a/library/error.c b/library/error.c index 22c7b165ce..be60798ce8 100644 --- a/library/error.c +++ b/library/error.c @@ -52,6 +52,10 @@ #include "mbedtls/aria.h" #endif +#if defined(MBEDTLS_ASN1_PARSE_C) +#include "mbedtls/asn1.h" +#endif + #if defined(MBEDTLS_BASE64_C) #include "mbedtls/base64.h" #endif