summaryrefslogtreecommitdiff
path: root/components/net/sal_socket/impl
diff options
context:
space:
mode:
authorliukangcc <[email protected]>2022-01-11 15:20:14 +0800
committerBernard Xiong <[email protected]>2022-01-14 23:09:32 +0800
commit3d2e23ec1c5140c8750c71ebf37c197f6048b94e (patch)
treebe48ddb8df1daec15cc5c03a1622de11885f814f /components/net/sal_socket/impl
parent211090203b9a15c25211ff88f6765298b7024922 (diff)
[update] move dfs_posix.h to legacy/dfs/dfs_posix.h
Diffstat (limited to 'components/net/sal_socket/impl')
-rw-r--r--components/net/sal_socket/impl/proto_mbedtls.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/components/net/sal_socket/impl/proto_mbedtls.c b/components/net/sal_socket/impl/proto_mbedtls.c
index 79fbdcc5d4..338792c948 100644
--- a/components/net/sal_socket/impl/proto_mbedtls.c
+++ b/components/net/sal_socket/impl/proto_mbedtls.c
@@ -11,7 +11,9 @@
#include <rtthread.h>
#ifdef RT_USING_DFS
-#include <dfs_posix.h>
+#include <unistd.h>
+#include <sys/stat.h>
+#include <sys/statfs.h>
#endif
#ifdef SAL_USING_TLS