commit | bee8ded03a8d52a03d36049add07e3f0dc55c065 | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Wed Jun 25 12:22:59 2014 +0200 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Wed Jun 25 12:22:59 2014 +0200 |
tree | 9b6725a0f351387e5368a7d580e5ae163a11a5d5 | |
parent | 01edb1044cada57f30fad6130a2e5b9acbc94004 [diff] [blame] |
Fix warning depending on configuration
diff --git a/library/error.c b/library/error.c index 2ef00e2..22234cf 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"