diff options
| author | liukangcc <[email protected]> | 2022-01-11 15:20:14 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2022-01-14 23:09:32 +0800 |
| commit | 3d2e23ec1c5140c8750c71ebf37c197f6048b94e (patch) | |
| tree | be48ddb8df1daec15cc5c03a1622de11885f814f /examples/file/listdir.c | |
| parent | 211090203b9a15c25211ff88f6765298b7024922 (diff) | |
[update] move dfs_posix.h to legacy/dfs/dfs_posix.h
Diffstat (limited to 'examples/file/listdir.c')
| -rw-r--r-- | examples/file/listdir.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/file/listdir.c b/examples/file/listdir.c index 9649347734..d858a00bff 100644 --- a/examples/file/listdir.c +++ b/examples/file/listdir.c @@ -9,7 +9,11 @@ * 2020-04-12 Jianjia Ma add msh cmd */ #include <rtthread.h> -#include <dfs_posix.h> +#include <dfs_file.h> +#include <unistd.h> +#include <stdio.h> +#include <sys/stat.h> +#include <sys/statfs.h> void list_dir(const char* path) { |
