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 /components/utilities/rt-link/src/rtlink_dev.c | |
| parent | 211090203b9a15c25211ff88f6765298b7024922 (diff) | |
[update] move dfs_posix.h to legacy/dfs/dfs_posix.h
Diffstat (limited to 'components/utilities/rt-link/src/rtlink_dev.c')
| -rw-r--r-- | components/utilities/rt-link/src/rtlink_dev.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/components/utilities/rt-link/src/rtlink_dev.c b/components/utilities/rt-link/src/rtlink_dev.c index e91736251d..702aed32da 100644 --- a/components/utilities/rt-link/src/rtlink_dev.c +++ b/components/utilities/rt-link/src/rtlink_dev.c @@ -20,7 +20,9 @@ #define RTLINK_SERV(dev) (((struct rt_link_device*)dev)->service) #ifdef RT_USING_POSIX_DEVIO -#include <dfs_posix.h> +#include <unistd.h> +#include <sys/stat.h> +#include <sys/statfs.h> #include <poll.h> int rtlink_fops_open(struct dfs_fd *fd) |
