diff --git a/library/error.c b/library/error.c index 2ef00e29a..22234cf28 100644 --- a/library/error.c +++ b/library/error.c @@ -29,9 +29,11 @@ #include POLARSSL_CONFIG_FILE #endif -#if defined(POLARSSL_ERROR_C) - +#if defined(POLARSSL_ERROR_C) || defined(POLARSSL_ERROR_STRERROR_DUMMY) #include "polarssl/error.h" +#endif + +#if defined(POLARSSL_ERROR_C) #if defined(POLARSSL_AES_C) #include "polarssl/aes.h"