mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-26 12:35:20 +00:00
Fixes stdlib.h dependencies in test suites
Moved stdlib.h in test suites, so platforms that don't support MBEDTLS_PLATFORM_C would build.
This commit is contained in:
parent
db0feca55c
commit
edb7fd9d76
@ -2,11 +2,12 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Headers */
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#if defined(MBEDTLS_PLATFORM_C)
|
||||
#include "mbedtls/platform.h"
|
||||
#else
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#define mbedtls_printf printf
|
||||
#define mbedtls_fprintf fprintf
|
||||
#define mbedtls_calloc calloc
|
||||
|
Loading…
x
Reference in New Issue
Block a user