Skip to content

Commit

Permalink
[bug] When compiling dfs_v2 without defining RT-USING_SMART, an error…
Browse files Browse the repository at this point in the history
… occurs
  • Loading branch information
yuqingli05 committed Dec 19, 2024
1 parent 6a7e797 commit 552b281
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions components/dfs/dfs_v2/src/dfs_pcache.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,16 @@
#include <dfs_pcache.h>
#include <dfs_dentry.h>
#include <dfs_mnt.h>
#include <mm_page.h>
#include <mm_private.h>
#include <mmu.h>
#include <tlb.h>

#include <rthw.h>

#ifdef RT_USING_PAGECACHE

#include <mm_page.h>
#include <mm_private.h>
#include <mmu.h>
#include <tlb.h>

#ifndef RT_PAGECACHE_COUNT
#define RT_PAGECACHE_COUNT 4096
#endif
Expand Down

0 comments on commit 552b281

Please sign in to comment.