From 90a4ab5eb16a7b3c5451f07d6a4972cb4cbd3dd3 Mon Sep 17 00:00:00 2001 From: Dimitar Dimitrov Date: Wed, 4 May 2022 19:31:43 +0300 Subject: [PATCH] Fix nano-malloc build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The nano malloc build broke with: Commit 357d7fcc6 In provide only necessary types The above commit exposed a latent missing-header bug: newlib/libc/stdlib/nano-mallocr.c:220:33: error: ‘uintptr_t’ undeclared (first use in this function) Fix by including . Signed-off-by: Dimitar Dimitrov --- newlib/libc/stdlib/nano-mallocr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/newlib/libc/stdlib/nano-mallocr.c b/newlib/libc/stdlib/nano-mallocr.c index 7ba1c0abc..99ad60dd0 100644 --- a/newlib/libc/stdlib/nano-mallocr.c +++ b/newlib/libc/stdlib/nano-mallocr.c @@ -36,6 +36,7 @@ #include #include #include +#include #if DEBUG #include