From 304c62289981bc358b2665a8e3cb6c083f0a86c3 Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Wed, 19 Aug 2009 22:36:39 +0000 Subject: fix more red git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22433 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/sdl/lcd-charcells.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'uisimulator/sdl/lcd-charcells.c') 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 @@ #include "lcd.h" #include "lcd-charcell.h" #include "screendump.h" -#include "general.h" -#include "file.h" +#include "general.h" #include #include #include @@ -33,6 +32,11 @@ #include "uisdl.h" #include "lcd-sdl.h" +/* can't include file.h here */ +#ifndef MAX_PATH +#define MAX_PATH 260 +#endif + /* extern functions, needed for screendump() */ extern int sim_creat(const char *name); -- cgit v1.2.3