From 281d1fadb34242347da379ddeba75d2195148b4c Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Sun, 5 Jan 2014 01:22:19 +0100 Subject: Do not include kernel.h in system.h. system.h doesn't need it on its own and this change makes it less dependant on Rockbox internals. Change-Id: I4e1e4108a52a7b599627a829204eb82b392fc6d6 --- apps/recorder/bmp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'apps/recorder/bmp.c') diff --git a/apps/recorder/bmp.c b/apps/recorder/bmp.c index e4eb588eb3..dfd6a0474e 100644 --- a/apps/recorder/bmp.c +++ b/apps/recorder/bmp.c @@ -38,6 +38,7 @@ ahead by whole lines, or read the next chunk of the current line */ +#define ROCKBOX_DEBUG_BMP_LOADER #include #include #include @@ -53,7 +54,7 @@ #include "lcd-remote.h" #endif #ifdef ROCKBOX_DEBUG_BMP_LOADER -#define BDEBUGF DEBUGF +#define BDEBUGF printf #else #define BDEBUGF(...) #endif @@ -774,6 +775,7 @@ int read_bmp_fd(int fd, #endif .alpha_detected = false, .first_alpha_byte = 0x80, .order = order, + .buf = NULL, }; #if (LCD_DEPTH > 1 || (defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1)) && \ -- cgit v1.2.3