commit | b2f66c91586653d402f1d526eac88d1f8b67a935 | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Tue Feb 04 16:27:57 2014 +0100 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Thu Feb 06 13:20:16 2014 +0100 |
tree | bcd58dd203d6d61204728cf33b782a4db8ab81d0 | |
parent | 7dc4c44267f83ab1a0148047534836d655ee931f [diff] [blame] |
Only include platform files when needed
diff --git a/include/polarssl/platform.h b/include/polarssl/platform.h index 61b3119..22a1f46 100644 --- a/include/polarssl/platform.h +++ b/include/polarssl/platform.h
@@ -29,7 +29,6 @@ #include "config.h" -#include <stdlib.h> #include <stdio.h> #ifdef __cplusplus @@ -47,6 +46,7 @@ #if defined(POLARSSL_MEMORY_C) #include "memory.h" #else +#include <stdlib.h> #define polarssl_malloc malloc #define polarssl_free free #endif