diff options
-rw-r--r-- | bootloader/ondavx747.c | 1 | ||||
-rw-r--r-- | firmware/target/arm/sandisk/sansa-e200/lcd-e200.c | 1 | ||||
-rw-r--r-- | uisimulator/sdl/lcd-charcells.c | 8 |
3 files changed, 8 insertions, 2 deletions
diff --git a/bootloader/ondavx747.c b/bootloader/ondavx747.c index d60c311bb7..496363c4b1 100644 --- a/bootloader/ondavx747.c +++ b/bootloader/ondavx747.c | |||
@@ -24,6 +24,7 @@ | |||
24 | #include "backlight.h" | 24 | #include "backlight.h" |
25 | #include "font.h" | 25 | #include "font.h" |
26 | #include "lcd.h" | 26 | #include "lcd.h" |
27 | #include "file.h" | ||
27 | #include "usb.h" | 28 | #include "usb.h" |
28 | #include "system.h" | 29 | #include "system.h" |
29 | #include "button.h" | 30 | #include "button.h" |
diff --git a/firmware/target/arm/sandisk/sansa-e200/lcd-e200.c b/firmware/target/arm/sandisk/sansa-e200/lcd-e200.c index b88f76f739..f31e0792a9 100644 --- a/firmware/target/arm/sandisk/sansa-e200/lcd-e200.c +++ b/firmware/target/arm/sandisk/sansa-e200/lcd-e200.c | |||
@@ -22,6 +22,7 @@ | |||
22 | * KIND, either express or implied. | 22 | * KIND, either express or implied. |
23 | * | 23 | * |
24 | ****************************************************************************/ | 24 | ****************************************************************************/ |
25 | #include <sys/types.h> | ||
25 | #include <string.h> | 26 | #include <string.h> |
26 | #include "cpu.h" | 27 | #include "cpu.h" |
27 | #include "system.h" | 28 | #include "system.h" |
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 | ||