summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2006-02-02 21:39:09 +0000
committerDave Chapman <dave@dchapman.com>2006-02-02 21:39:09 +0000
commit3749d1ad298abea9235820dce64c45d1276de8e8 (patch)
tree5d30118d9e9a9b80c00aa1e29599ee2350f00a73
parentd9e5b67b71cf246c11da8a9083af21752ac7bd15 (diff)
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
-rw-r--r--apps/gui/gwps-common.c4
-rw-r--r--apps/gui/gwps.c4
-rw-r--r--apps/onplay.c5
-rw-r--r--apps/settings.c2
4 files changed, 12 insertions, 3 deletions
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);