Skip to content

Commit 897e233

Browse files
committed
zephyr: including fs_interface.h
`fs_file_t` and `fs_dir_t` is defined in fs_interface.h. However, platform_internal.h does not currently include it, so the symbols can't be resolved. We include it to resolve these definitions with platform_internal.h standalone. Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
1 parent 5ba1b33 commit 897e233

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

core/shared/platform/zephyr/platform_internal.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,15 @@
3838

3939
#if KERNEL_VERSION_NUMBER < 0x030200 /* version 3.2.0 */
4040
#include <zephyr.h>
41+
#include <fs/fs_interface.h>
4142
#include <net/net_pkt.h>
4243
#include <net/net_if.h>
4344
#include <net/net_ip.h>
4445
#include <net/net_core.h>
4546
#include <net/net_context.h>
4647
#else /* else of KERNEL_VERSION_NUMBER < 0x030200 */
4748
#include <zephyr/kernel.h>
49+
#include <zephyr/fs/fs_interface.h>
4850
#include <zephyr/net/net_pkt.h>
4951
#include <zephyr/net/net_if.h>
5052
#include <zephyr/net/net_ip.h>

0 commit comments

Comments
 (0)