summaryrefslogtreecommitdiff
path: root/components/dfs/include/dfs_def.h
diff options
context:
space:
mode:
Diffstat (limited to 'components/dfs/include/dfs_def.h')
-rw-r--r--components/dfs/include/dfs_def.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/dfs/include/dfs_def.h b/components/dfs/include/dfs_def.h
index e509c4a3da..0f75a5162b 100644
--- a/components/dfs/include/dfs_def.h
+++ b/components/dfs/include/dfs_def.h
@@ -255,6 +255,9 @@
#define DFS_S_IWOTH 00002
#define DFS_S_IXOTH 00001
+#ifdef _MSC_VER
+#include <wchar.h>
+#else
struct stat
{
rt_device_t st_dev;
@@ -262,6 +265,7 @@ struct stat
rt_uint32_t st_size;
rt_time_t st_mtime;
};
+#endif
struct statfs
{