Skip to content

Commit

Permalink
zephyr: rtos: properly include sof/lib/memory.h
Browse files Browse the repository at this point in the history
The alloc.h header depends on PLATFORM_DCACHE_ALIGN, but does not
include sof/lib/memory.h, but relies for the definition to be
available indirectly. Fix this and make the include statement
explicit.

Signed-off-by: Kai Vehmanen <[email protected]>
  • Loading branch information
kv2019i authored and lgirdwood committed Oct 21, 2024
1 parent 1423118 commit 0fcf38c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zephyr/include/rtos/alloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#include <rtos/bit.h>
#include <rtos/string.h>
#include <sof/lib/memory.h> /* PLATFORM_DCACHE_ALIGN */
#include <sof/trace/trace.h>
#include <user/trace.h>

Expand Down

0 comments on commit 0fcf38c

Please sign in to comment.