Skip to content

platform: zephyr: add fs.h include#4906

Merged
lum1n0us merged 1 commit intobytecodealliance:mainfrom
martinjaeger:zephyr-fs-includes
Apr 13, 2026
Merged

platform: zephyr: add fs.h include#4906
lum1n0us merged 1 commit intobytecodealliance:mainfrom
martinjaeger:zephyr-fs-includes

Conversation

@martinjaeger
Copy link
Copy Markdown
Contributor

Required for definition of struct fs_file_t and struct fs_dir_t.

Without this fix I get the following build error (when building for Zephyr):

.../wasm-micro-runtime/core/shared/platform/zephyr/platform_internal.h:269:26: error: field 'file' has incomplete type
  269 |         struct fs_file_t file;
      |                          ^~~~
.../wasm-micro-runtime/core/shared/platform/zephyr/platform_internal.h:270:25: error: field 'dir' has incomplete type
  270 |         struct fs_dir_t dir;

Required for definition of struct fs_file_t and struct fs_dir_t.

Signed-off-by: Martin Jäger <martin@libre.solar>
@lum1n0us lum1n0us merged commit c60ee5b into bytecodealliance:main Apr 13, 2026
504 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants