From bee8ded03a8d52a03d36049add07e3f0dc55c065 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Wed, 25 Jun 2014 12:22:59 +0200 Subject: [PATCH] Fix warning depending on configuration --- library/error.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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"