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 committed Sep 18, 2024
1 parent 53f547b commit 5d956e1
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 5d956e1

Please sign in to comment.