Просмотр исходного кода

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>
Martin Jäger 2 недель назад
Родитель
Сommit
c60ee5b957
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      core/shared/platform/zephyr/platform_internal.h

+ 2 - 0
core/shared/platform/zephyr/platform_internal.h

@@ -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