From d9ab33118e667db7ab6e1067bed56049d47b5203 Mon Sep 17 00:00:00 2001 From: Felipe Neves Date: Wed, 13 Nov 2019 09:32:33 +0800 Subject: [PATCH] heap/multi_heap_poisoning: include heap_private.h only when no host heap tests --- components/heap/multi_heap_poisoning.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/components/heap/multi_heap_poisoning.c b/components/heap/multi_heap_poisoning.c index 559ad18d2e..3717b6c299 100644 --- a/components/heap/multi_heap_poisoning.c +++ b/components/heap/multi_heap_poisoning.c @@ -21,7 +21,10 @@ #include #include #include "multi_heap_internal.h" -#include "heap_private.h" +#if CONFIG_IDF_TARGET_ESP32S2BETA + #include "heap_private.h" +#endif + /* Note: Keep platform-specific parts in this header, this source file should depend on libc only */