modify library/memory_buffer_alloc.c, benchmark.c and the tests main code to use polarssl_exit
diff --git a/programs/test/benchmark.c b/programs/test/benchmark.c
index 0f2993c..675547b 100644
--- a/programs/test/benchmark.c
+++ b/programs/test/benchmark.c
@@ -33,6 +33,7 @@
#define polarssl_exit exit
#define polarssl_printf printf
#define polarssl_snprintf snprintf
+#define polarssl_exit exit
#endif
#if defined(POLARSSL_TIMING_C)
diff --git a/tests/suites/main_test.function b/tests/suites/main_test.function
index bb1083a..d67d875 100644
--- a/tests/suites/main_test.function
+++ b/tests/suites/main_test.function
@@ -3,6 +3,7 @@
#if defined(POLARSSL_PLATFORM_C)
#include "polarssl/platform.h"
#else
+#include <stdio.h>
#define polarssl_exit exit
#define polarssl_free free
#define polarssl_malloc malloc