diff options
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 | ||