From 3749d1ad298abea9235820dce64c45d1276de8e8 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Thu, 2 Feb 2006 21:39:09 +0000 Subject: Oops - fix the builds broken by the backdrop image patch git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8537 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/gwps-common.c | 4 +++- apps/gui/gwps.c | 4 +++- apps/onplay.c | 5 ++++- apps/settings.c | 2 ++ 4 files changed, 12 insertions(+), 3 deletions(-) (limited to 'apps') diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c index 09c271b904..2f9a7b3cbf 100644 --- a/apps/gui/gwps-common.c +++ b/apps/gui/gwps-common.c @@ -37,7 +37,6 @@ #include "backlight.h" #include "lang.h" #include "misc.h" -#include "backdrop.h" #include "splash.h" #include "scrollbar.h" #include "led.h" @@ -48,6 +47,9 @@ #include "bmp.h" #include "atoi.h" #endif +#ifdef HAVE_LCD_COLOR +#include "backdrop.h" +#endif #ifdef HAVE_LCD_CHARCELLS static bool draw_player_progress(struct gui_wps *gwps); diff --git a/apps/gui/gwps.c b/apps/gui/gwps.c index 00d7aaa507..e31ac12110 100644 --- a/apps/gui/gwps.c +++ b/apps/gui/gwps.c @@ -52,8 +52,10 @@ #include "onplay.h" #include "abrepeat.h" #include "playback.h" -#include "backdrop.h" #include "splash.h" +#ifdef HAVE_LCD_COLOR +#include "backdrop.h" +#endif #define WPS_DEFAULTCFG WPS_DIR "/rockbox_default.wps" #define RWPS_DEFAULTCFG WPS_DIR "/rockbox_default.rwps" diff --git a/apps/onplay.c b/apps/onplay.c index c994b04695..167889e824 100644 --- a/apps/onplay.c +++ b/apps/onplay.c @@ -49,8 +49,9 @@ #include "action.h" #include "splash.h" #include "yesno.h" +#ifdef HAVE_LCD_COLOR #include "backdrop.h" - +#endif #ifdef HAVE_LCD_BITMAP #include "icons.h" #endif @@ -538,7 +539,9 @@ int onplay(char* file, int attr, int from) { struct menu_item items[8]; /* increase this if you add entries! */ int m, i=0, result; +#if HAVE_LCD_COLOR char *suffix; +#endif onplay_result = ONPLAY_OK; context=from; diff --git a/apps/settings.c b/apps/settings.c index ebde692896..3d94df3e4c 100644 --- a/apps/settings.c +++ b/apps/settings.c @@ -72,7 +72,9 @@ #include "statusbar.h" #include "splash.h" #include "list.h" +#if HAVE_LCD_COLOR #include "backdrop.h" +#endif #if CONFIG_CODEC == MAS3507D void dac_line_in(bool enable); -- cgit v1.2.3