Skip to content

Commit c60ee5b

Browse files
authored
platform: zephyr: add fs.h include (#4906)
Required for definition of struct fs_file_t and struct fs_dir_t. Signed-off-by: Martin Jäger <martin@libre.solar>
1 parent 82f9508 commit c60ee5b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/shared/platform/zephyr/platform_internal.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
#include <net/net_ip.h>
6060
#include <net/net_core.h>
6161
#include <net/net_context.h>
62+
#include <fs/fs.h>
6263
#else /* else of KERNEL_VERSION_NUMBER < 0x030200 */
6364
#include <zephyr/kernel.h>
6465
#include <zephyr/net/net_pkt.h>
@@ -67,6 +68,7 @@
6768
#include <zephyr/net/net_core.h>
6869
#include <zephyr/net/net_context.h>
6970
#include <zephyr/net/socket.h>
71+
#include <zephyr/fs/fs.h>
7072
#endif /* end of KERNEL_VERSION_NUMBER < 0x030200 */
7173

7274
#ifdef CONFIG_USERSPACE

0 commit comments

Comments
 (0)