Fix misplaced includes

This commit is contained in:
Manuel Pégourié-Gonnard 2015-02-17 16:01:07 +01:00
parent 01bb5f9a00
commit 394608ee00
3 changed files with 4 additions and 1 deletions

View File

@ -36,8 +36,9 @@
#include "polarssl/camellia.h"
#if defined(POLARSSL_SELF_TEST)
#include <string.h>
#if defined(POLARSSL_SELF_TEST)
#if defined(POLARSSL_PLATFORM_C)
#include "polarssl/platform.h"
#else

View File

@ -51,6 +51,7 @@
#include "polarssl/platform.h"
#else
#include <stdlib.h>
#include <stdio.h>
#define polarssl_free free
#define polarssl_malloc malloc
#define polarssl_snprintf snprintf

View File

@ -51,6 +51,7 @@
#include "polarssl/platform.h"
#else
#include <stdlib.h>
#include <stdio.h>
#define polarssl_free free
#define polarssl_malloc malloc
#define polarssl_snprintf snprintf