From 5633dc6ce3a21501a21154c7bdb26d2a1c6fb591 Mon Sep 17 00:00:00 2001 From: Kevin Ferrare Date: Sat, 21 Jul 2007 14:21:11 +0000 Subject: This should fix dircache being disabled by my last commit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13952 a1c6a512-1295-4272-9138-f99709370657 --- firmware/include/dir.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'firmware/include/dir.h') 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 -- cgit v1.2.3