diff options
author | Nils Wallménius <nils@rockbox.org> | 2009-08-19 22:36:39 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2009-08-19 22:36:39 +0000 |
commit | 304c62289981bc358b2665a8e3cb6c083f0a86c3 (patch) | |
tree | 4d5663f0182a2a367140a350ca5374aa339607a2 /uisimulator/sdl | |
parent | 47608e06b3eba36f40d050309876cc45a0da2178 (diff) | |
download | rockbox-304c62289981bc358b2665a8e3cb6c083f0a86c3.tar.gz rockbox-304c62289981bc358b2665a8e3cb6c083f0a86c3.zip |
fix more red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22433 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/sdl')
-rw-r--r-- | uisimulator/sdl/lcd-charcells.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/uisimulator/sdl/lcd-charcells.c b/uisimulator/sdl/lcd-charcells.c index eb08ea2bef..5a06af53ab 100644 --- a/uisimulator/sdl/lcd-charcells.c +++ b/uisimulator/sdl/lcd-charcells.c | |||
@@ -23,8 +23,7 @@ | |||
23 | #include "lcd.h" | 23 | #include "lcd.h" |
24 | #include "lcd-charcell.h" | 24 | #include "lcd-charcell.h" |
25 | #include "screendump.h" | 25 | #include "screendump.h" |
26 | #include "general.h" | 26 | #include "general.h" |
27 | #include "file.h" | ||
28 | #include <string.h> | 27 | #include <string.h> |
29 | #include <unistd.h> | 28 | #include <unistd.h> |
30 | #include <fcntl.h> | 29 | #include <fcntl.h> |
@@ -33,6 +32,11 @@ | |||
33 | #include "uisdl.h" | 32 | #include "uisdl.h" |
34 | #include "lcd-sdl.h" | 33 | #include "lcd-sdl.h" |
35 | 34 | ||
35 | /* can't include file.h here */ | ||
36 | #ifndef MAX_PATH | ||
37 | #define MAX_PATH 260 | ||
38 | #endif | ||
39 | |||
36 | /* extern functions, needed for screendump() */ | 40 | /* extern functions, needed for screendump() */ |
37 | extern int sim_creat(const char *name); | 41 | extern int sim_creat(const char *name); |
38 | 42 | ||