From 394608ee005472ee6496719ac0cde04b2534b737 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Tue, 17 Feb 2015 16:01:07 +0100 Subject: [PATCH] Fix misplaced includes --- library/camellia.c | 3 ++- library/x509_crl.c | 1 + library/x509_csr.c | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/library/camellia.c b/library/camellia.c index 72d902b8e..f765f1b50 100644 --- a/library/camellia.c +++ b/library/camellia.c @@ -36,8 +36,9 @@ #include "polarssl/camellia.h" -#if defined(POLARSSL_SELF_TEST) #include + +#if defined(POLARSSL_SELF_TEST) #if defined(POLARSSL_PLATFORM_C) #include "polarssl/platform.h" #else diff --git a/library/x509_crl.c b/library/x509_crl.c index 78b925caa..94076e791 100644 --- a/library/x509_crl.c +++ b/library/x509_crl.c @@ -51,6 +51,7 @@ #include "polarssl/platform.h" #else #include +#include #define polarssl_free free #define polarssl_malloc malloc #define polarssl_snprintf snprintf diff --git a/library/x509_csr.c b/library/x509_csr.c index ad49abc97..826eafd94 100644 --- a/library/x509_csr.c +++ b/library/x509_csr.c @@ -51,6 +51,7 @@ #include "polarssl/platform.h" #else #include +#include #define polarssl_free free #define polarssl_malloc malloc #define polarssl_snprintf snprintf