platform: zephyr: add fs.h include

Required for definition of struct fs_file_t and struct fs_dir_t.

Signed-off-by: Martin Jäger <martin@libre.solar>
This commit is contained in:
Martin Jäger 2026-04-06 22:54:09 +02:00
parent dd0fee27a5
commit 843a652d99

View File

@ -59,6 +59,7 @@
#include <net/net_ip.h> #include <net/net_ip.h>
#include <net/net_core.h> #include <net/net_core.h>
#include <net/net_context.h> #include <net/net_context.h>
#include <fs/fs.h>
#else /* else of KERNEL_VERSION_NUMBER < 0x030200 */ #else /* else of KERNEL_VERSION_NUMBER < 0x030200 */
#include <zephyr/kernel.h> #include <zephyr/kernel.h>
#include <zephyr/net/net_pkt.h> #include <zephyr/net/net_pkt.h>
@ -67,6 +68,7 @@
#include <zephyr/net/net_core.h> #include <zephyr/net/net_core.h>
#include <zephyr/net/net_context.h> #include <zephyr/net/net_context.h>
#include <zephyr/net/socket.h> #include <zephyr/net/socket.h>
#include <zephyr/fs/fs.h>
#endif /* end of KERNEL_VERSION_NUMBER < 0x030200 */ #endif /* end of KERNEL_VERSION_NUMBER < 0x030200 */
#ifdef CONFIG_USERSPACE #ifdef CONFIG_USERSPACE