diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-09-06 11:36:02 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-09-06 11:36:02 +0000 |
commit | 9940663f0c90db663ad5838f13896dc42808194e (patch) | |
tree | 1ba85c870089726ba491f2634c1a09eb3eebdcb0 | |
parent | d7cfd7621682115aaa4112e14068fed94f71a554 (diff) | |
download | rockbox-9940663f0c90db663ad5838f13896dc42808194e.tar.gz rockbox-9940663f0c90db663ad5838f13896dc42808194e.zip |
Fix sdl application build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28004 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/include/dir.h | 2 | ||||
-rw-r--r-- | firmware/include/dir_uncached.h | 2 | ||||
-rw-r--r-- | firmware/target/hosted/android/dir-target.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/firmware/include/dir.h b/firmware/include/dir.h index d143ed2664..29dcb65961 100644 --- a/firmware/include/dir.h +++ b/firmware/include/dir.h | |||
@@ -72,8 +72,8 @@ | |||
72 | # define rmdir rmdir_uncached | 72 | # define rmdir rmdir_uncached |
73 | #endif | 73 | #endif |
74 | #else | 74 | #else |
75 | #include "dir_uncached.h" | ||
76 | #include "dir-target.h" | 75 | #include "dir-target.h" |
76 | #include "dir_uncached.h" | ||
77 | #endif | 77 | #endif |
78 | 78 | ||
79 | #endif | 79 | #endif |
diff --git a/firmware/include/dir_uncached.h b/firmware/include/dir_uncached.h index 5c7ed14658..29512c7a69 100644 --- a/firmware/include/dir_uncached.h +++ b/firmware/include/dir_uncached.h | |||
@@ -30,7 +30,6 @@ struct dirinfo { | |||
30 | unsigned short wrttime; | 30 | unsigned short wrttime; |
31 | }; | 31 | }; |
32 | 32 | ||
33 | #ifndef APPLICATION | ||
34 | #include <stdbool.h> | 33 | #include <stdbool.h> |
35 | #include "file.h" | 34 | #include "file.h" |
36 | 35 | ||
@@ -91,6 +90,5 @@ extern struct dirent_uncached* readdir_uncached(DIR_UNCACHED* dir); | |||
91 | extern int release_dirs(int volume); | 90 | extern int release_dirs(int volume); |
92 | 91 | ||
93 | #endif /* DIRFUNCTIONS_DEFINED */ | 92 | #endif /* DIRFUNCTIONS_DEFINED */ |
94 | #endif | ||
95 | 93 | ||
96 | #endif | 94 | #endif |
diff --git a/firmware/target/hosted/android/dir-target.h b/firmware/target/hosted/android/dir-target.h index 44ea23d4ad..c93d92caad 100644 --- a/firmware/target/hosted/android/dir-target.h +++ b/firmware/target/hosted/android/dir-target.h | |||
@@ -35,4 +35,6 @@ extern int _closedir(DIR* dir); | |||
35 | extern struct dirent *_readdir(DIR* dir); | 35 | extern struct dirent *_readdir(DIR* dir); |
36 | extern void fat_size(unsigned long *size, unsigned long *free); | 36 | extern void fat_size(unsigned long *size, unsigned long *free); |
37 | 37 | ||
38 | #define DIRFUNCTIONS_DEFINED | ||
39 | |||
38 | #endif /* __DIR_TARGET_H__ */ | 40 | #endif /* __DIR_TARGET_H__ */ |