Skip to content

Commit

Permalink
shell: kernel_service: heap: add required header
Browse files Browse the repository at this point in the history
Add the "kernel_shell.h" header which is required but missing,
causing build error.

Signed-off-by: Yong Cong Sin <[email protected]>
Signed-off-by: Yong Cong Sin <[email protected]>
  • Loading branch information
ycsin authored and nashif committed Sep 19, 2024
1 parent b1af192 commit ae20c08
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions subsys/shell/modules/kernel_service/heap.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
*/

#if K_HEAP_MEM_POOL_SIZE > 0
#include "kernel_shell.h"

#include <zephyr/sys/sys_heap.h>

extern struct sys_heap _system_heap;
Expand Down

0 comments on commit ae20c08

Please sign in to comment.