summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2009-08-19 22:36:39 +0000
committerNils Wallménius <nils@rockbox.org>2009-08-19 22:36:39 +0000
commit304c62289981bc358b2665a8e3cb6c083f0a86c3 (patch)
tree4d5663f0182a2a367140a350ca5374aa339607a2 /uisimulator
parent47608e06b3eba36f40d050309876cc45a0da2178 (diff)
downloadrockbox-304c62289981bc358b2665a8e3cb6c083f0a86c3.tar.gz
rockbox-304c62289981bc358b2665a8e3cb6c083f0a86c3.tar.bz2
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')
-rw-r--r--uisimulator/sdl/lcd-charcells.c8
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 @@
#include "lcd.h"
#include "lcd-charcell.h"
#include "screendump.h"
-#include "general.h"
-#include "file.h"
+#include "general.h"
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
@@ -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);