summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);