From 0ac1d2d5ca5d1deee89954ccac9fde72b0c0e52a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Mon, 26 Jan 2015 14:58:04 +0100 Subject: [PATCH] Fix error while removing memory.h usage --- tests/suites/main_test.function | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/suites/main_test.function b/tests/suites/main_test.function index fae56f425..9ebd9c3db 100644 --- a/tests/suites/main_test.function +++ b/tests/suites/main_test.function @@ -9,6 +9,10 @@ #define polarssl_free free #endif +#if defined(POLARSSL_MEMORY_BUFFER_ALLOC_C) +#include "polarssl/memory_buffer_alloc.h" +#endif + static int test_errors = 0; SUITE_PRE_DEP