Only include platform files when needed

This commit is contained in:
Paul Bakker 2014-02-04 16:27:57 +01:00
parent 7dc4c44267
commit b2f66c9158

View file

@ -29,7 +29,6 @@
#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#ifdef __cplusplus
@ -47,6 +46,7 @@ extern "C" {
#if defined(POLARSSL_MEMORY_C)
#include "memory.h"
#else
#include <stdlib.h>
#define polarssl_malloc malloc
#define polarssl_free free
#endif