summaryrefslogtreecommitdiff
path: root/firmware/include/dir.h
diff options
context:
space:
mode:
authorKevin Ferrare <kevin@rockbox.org>2007-07-21 14:21:11 +0000
committerKevin Ferrare <kevin@rockbox.org>2007-07-21 14:21:11 +0000
commit5633dc6ce3a21501a21154c7bdb26d2a1c6fb591 (patch)
tree37e14a833bc8a0a52b5480b8f4648569b6abdc6c /firmware/include/dir.h
parenta4189fccf3c7dda3696da3cb46f8bb608f8e35f3 (diff)
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
Diffstat (limited to 'firmware/include/dir.h')
-rw-r--r--firmware/include/dir.h5
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