From 054230481f97481faefaf5b20ef4f20ff05add47 Mon Sep 17 00:00:00 2001 From: Andy Ross Date: Fri, 2 Dec 2022 16:00:13 -0800 Subject: [PATCH] zephyr: Not all builds are xtensa Don't need the arch-specific cache header if we're building for native_posix Signed-off-by: Andy Ross --- zephyr/lib/alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zephyr/lib/alloc.c b/zephyr/lib/alloc.c index 65584c66a..4f9eb97cd 100644 --- a/zephyr/lib/alloc.c +++ b/zephyr/lib/alloc.c @@ -27,7 +27,7 @@ #include #include -#if !CONFIG_KERNEL_COHERENCE +#if defined(CONFIG_ARCH_XTENSA) && !defined(CONFIG_KERNEL_COHERENCE) #include #endif