diff options
-rw-r--r-- | firmware/include/dir.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/include/dir.h b/firmware/include/dir.h index 8778d0be02..2ea51ead08 100644 --- a/firmware/include/dir.h +++ b/firmware/include/dir.h @@ -20,6 +20,8 @@ #ifndef _DIR_H_ #define _DIR_H_ +#include "config.h" + #ifdef HAVE_DIRCACHE # include "dircache.h" # define DIR DIR_CACHED @@ -32,9 +34,10 @@ # define rmdir rmdir_cached #else #include "dir_uncached.h" +#warning no dircache # define DIR DIR_UNCACHED # define dirent dirent_uncached -# define opendir opendir_uncached +//# define opendir opendir_uncached # define closedir closedir_uncached # define readdir readdir_uncached # define closedir closedir_uncached |