summaryrefslogtreecommitdiffstats
path: root/apps/gui/gwps-common.c
diff options
context:
space:
mode:
authorNicolas Pennequin <nicolas.pennequin@free.fr>2007-04-25 22:08:00 +0000
committerNicolas Pennequin <nicolas.pennequin@free.fr>2007-04-25 22:08:00 +0000
commit1cf2ec38b1d3fbbe62fab1daf39f617bb64516a9 (patch)
tree7cf670647d6b2f71be80854322daf80620e50247 /apps/gui/gwps-common.c
parent9db669e1af5443f654f92a6ee7257c365ec0f52a (diff)
downloadrockbox-1cf2ec38b1d3fbbe62fab1daf39f617bb64516a9.tar.gz
rockbox-1cf2ec38b1d3fbbe62fab1daf39f617bb64516a9.zip
Change some ifdefs for the recent backdrop changes (fixes the yellow builds) and move the backdrop files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13265 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/gwps-common.c')
-rw-r--r--apps/gui/gwps-common.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c
index 7f84be613b..5043b33ec0 100644
--- a/apps/gui/gwps-common.c
+++ b/apps/gui/gwps-common.c
@@ -49,13 +49,14 @@
#include "bmp.h"
#include "atoi.h"
#endif
-#if LCD_DEPTH > 1
-#include "backdrop.h"
-#endif
#include "dsp.h"
#include "action.h"
#include "cuesheet.h"
+#if (LCD_DEPTH > 1) || (defined(HAVE_LCD_REMOTE) && (LCD_REMOTE_DEPTH > 1))
+#include "backdrop.h"
+#endif
+
#define FF_REWIND_MAX_PERCENT 3 /* cap ff/rewind step size at max % of file */
/* 3% of 30min file == 54s step size */
#define MIN_FF_REWIND_STEP 500