summaryrefslogtreecommitdiff
path: root/firmware/include
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/include')
-rw-r--r--firmware/include/dircache.h1
-rw-r--r--firmware/include/file.h5
2 files changed, 2 insertions, 4 deletions
diff --git a/firmware/include/dircache.h b/firmware/include/dircache.h
index 4472d5fbe0..650b92632d 100644
--- a/firmware/include/dircache.h
+++ b/firmware/include/dircache.h
@@ -27,7 +27,6 @@
27 27
28#define DIRCACHE_RESERVE (1024*64) 28#define DIRCACHE_RESERVE (1024*64)
29#define DIRCACHE_LIMIT (1024*1024*6) 29#define DIRCACHE_LIMIT (1024*1024*6)
30#define DIRCACHE_FILE ROCKBOX_DIR"/dircache.dat"
31 30
32#define DIRCACHE_APPFLAG_TAGCACHE 0x0001 31#define DIRCACHE_APPFLAG_TAGCACHE 0x0001
33 32
diff --git a/firmware/include/file.h b/firmware/include/file.h
index 91b701d6d2..a9d1d05a11 100644
--- a/firmware/include/file.h
+++ b/firmware/include/file.h
@@ -22,13 +22,12 @@
22#ifndef _FILE_H_ 22#ifndef _FILE_H_
23#define _FILE_H_ 23#define _FILE_H_
24 24
25#undef MAX_PATH /* this avoids problems when building simulator */
26#define MAX_PATH 260
27
28#include <sys/types.h> 25#include <sys/types.h>
29#include "config.h" 26#include "config.h"
30#include "gcc_extensions.h" 27#include "gcc_extensions.h"
31 28
29#undef MAX_PATH /* this avoids problems when building simulator */
30#define MAX_PATH 260
32#define MAX_OPEN_FILES 11 31#define MAX_OPEN_FILES 11
33 32
34#ifndef SEEK_SET 33#ifndef SEEK_SET