mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-22 19:44:24 +08:00
[components][drivers] Check macro "RT_USING_DFS" when using DFS relative method/functions.
This commit is contained in:
@@ -23,8 +23,10 @@
|
||||
*/
|
||||
#include <rthw.h>
|
||||
#include <rtdevice.h>
|
||||
#if defined(RT_USING_DFS)
|
||||
#include <dfs_file.h>
|
||||
#include <dfs_posix.h>
|
||||
#endif
|
||||
|
||||
#if defined(RT_USING_DFS) && defined(RT_USING_DFS_DEVFS)
|
||||
static int pipe_open(struct dfs_fd *fd)
|
||||
|
||||
Reference in New Issue
Block a user