mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
Fix misplaced includes
This commit is contained in:
@ -36,8 +36,9 @@
|
|||||||
|
|
||||||
#include "polarssl/camellia.h"
|
#include "polarssl/camellia.h"
|
||||||
|
|
||||||
#if defined(POLARSSL_SELF_TEST)
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#if defined(POLARSSL_SELF_TEST)
|
||||||
#if defined(POLARSSL_PLATFORM_C)
|
#if defined(POLARSSL_PLATFORM_C)
|
||||||
#include "polarssl/platform.h"
|
#include "polarssl/platform.h"
|
||||||
#else
|
#else
|
||||||
|
@ -51,6 +51,7 @@
|
|||||||
#include "polarssl/platform.h"
|
#include "polarssl/platform.h"
|
||||||
#else
|
#else
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <stdio.h>
|
||||||
#define polarssl_free free
|
#define polarssl_free free
|
||||||
#define polarssl_malloc malloc
|
#define polarssl_malloc malloc
|
||||||
#define polarssl_snprintf snprintf
|
#define polarssl_snprintf snprintf
|
||||||
|
@ -51,6 +51,7 @@
|
|||||||
#include "polarssl/platform.h"
|
#include "polarssl/platform.h"
|
||||||
#else
|
#else
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <stdio.h>
|
||||||
#define polarssl_free free
|
#define polarssl_free free
|
||||||
#define polarssl_malloc malloc
|
#define polarssl_malloc malloc
|
||||||
#define polarssl_snprintf snprintf
|
#define polarssl_snprintf snprintf
|
||||||
|
Reference in New Issue
Block a user