Fix compile errors with NO_STD_FUNCTIONS
diff --git a/include/polarssl/platform.h b/include/polarssl/platform.h
index 9095203..639b180 100644
--- a/include/polarssl/platform.h
+++ b/include/polarssl/platform.h
@@ -85,6 +85,8 @@
#define polarssl_free POLARSSL_PLATFORM_FREE_MACRO
#define polarssl_malloc POLARSSL_PLATFORM_MALLOC_MACRO
#else
+/* For size_t */
+#include <stddef.h>
extern void * (*polarssl_malloc)( size_t len );
extern void (*polarssl_free)( void *ptr );
@@ -108,6 +110,8 @@
* The function pointers for fprintf
*/
#if defined(POLARSSL_PLATFORM_FPRINTF_ALT)
+/* We need FILE * */
+#include <stdio.h>
extern int (*polarssl_fprintf)( FILE *stream, const char *format, ... );
/**