From 552b281fd56f38dde36bde2141eb608d575fea1c Mon Sep 17 00:00:00 2001 From: yuqingli Date: Fri, 20 Dec 2024 04:24:42 +0800 Subject: [PATCH] [bug] When compiling dfs_v2 without defining RT-USING_SMART, an error occurs --- components/dfs/dfs_v2/src/dfs_pcache.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/components/dfs/dfs_v2/src/dfs_pcache.c b/components/dfs/dfs_v2/src/dfs_pcache.c index 6868170b9cb..2a68c268a4a 100644 --- a/components/dfs/dfs_v2/src/dfs_pcache.c +++ b/components/dfs/dfs_v2/src/dfs_pcache.c @@ -16,15 +16,16 @@ #include #include #include -#include -#include -#include -#include #include #ifdef RT_USING_PAGECACHE +#include +#include +#include +#include + #ifndef RT_PAGECACHE_COUNT #define RT_PAGECACHE_COUNT 4096 #endif