From e94e6e5b9c3d2fca9f83db02f7470abd0f960697 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Mon, 19 Jan 2015 15:01:53 +0000 Subject: [PATCH] Fix stdio (non-)inclusion issues. --- include/polarssl/bignum.h | 5 ++++- library/debug.c | 3 --- library/error.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/polarssl/bignum.h b/include/polarssl/bignum.h index 1807439456..7c3961e5ef 100644 --- a/include/polarssl/bignum.h +++ b/include/polarssl/bignum.h @@ -24,7 +24,6 @@ #ifndef POLARSSL_BIGNUM_H #define POLARSSL_BIGNUM_H -#include #include #if !defined(POLARSSL_CONFIG_FILE) @@ -33,6 +32,10 @@ #include POLARSSL_CONFIG_FILE #endif +#if defined(POLARSSL_FS_IO) +#include +#endif + #if defined(_MSC_VER) && !defined(EFIX64) && !defined(EFI32) #include #if (_MSC_VER <= 1200) diff --git a/library/debug.c b/library/debug.c index e014c0379d..d08ecfbaf6 100644 --- a/library/debug.c +++ b/library/debug.c @@ -32,10 +32,7 @@ #include #include - -#if defined(EFIX64) || defined(EFI32) #include -#endif #if defined(_MSC_VER) && !defined(EFIX64) && !defined(EFI32) #if !defined snprintf diff --git a/library/error.c b/library/error.c index 60fec11651..3fbec5d9d4 100644 --- a/library/error.c +++ b/library/error.c @@ -172,7 +172,7 @@ #include "polarssl/xtea.h" #endif - +#include #include #if defined(_MSC_VER) && !defined snprintf && !defined(EFIX64) && \