Fix misplaced includes

This commit is contained in:
Manuel Pégourié-Gonnard
2015-02-17 15:20:11 +00:00
parent 01bb5f9a00
commit 394608ee00
3 changed files with 4 additions and 1 deletions
+2 -1
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
+1
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
+1
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