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>
This commit is contained in:
Martin Jäger 2026-04-14 00:47:24 +02:00 committed by GitHub
parent 82f95089b0
commit c60ee5b957
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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