Commit b2f66c91 authored by Paul Bakker's avatar Paul Bakker
Browse files

Only include platform files when needed

parent 7dc4c442
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment