diff --git a/components/fs/fs.c b/components/fs/fs.c index bb08d3eb..a06212a3 100644 --- a/components/fs/fs.c +++ b/components/fs/fs.c @@ -30,7 +30,7 @@ */ #include "fs_operations.h" #include "los_config.h" -#ifdef LOSCFG_SUPPORT_FATFS +#if (LOSCFG_SUPPORT_FATFS == 1) #include "fatfs.h" #endif #include "dirent.h"