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 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'apps/gui') 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" -- cgit v1.2.3