From c9df8fd87ba80a3c0d719e76ca68cb829a505b11 Mon Sep 17 00:00:00 2001 From: Steve Bavin Date: Fri, 28 Mar 2008 11:24:24 +0000 Subject: The const police raid playback.c, should be no change to behaviour. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16860 a1c6a512-1295-4272-9138-f99709370657 --- apps/menus/playback_menu.c | 6 +++++- apps/menus/settings_menu.c | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'apps/menus') diff --git a/apps/menus/playback_menu.c b/apps/menus/playback_menu.c index b7aa1ae47f..1e07ef3781 100644 --- a/apps/menus/playback_menu.c +++ b/apps/menus/playback_menu.c @@ -33,7 +33,11 @@ #include "dsp.h" #include "scrobbler.h" #include "audio.h" -#include "cuesheet.h" +#include "cuesheet.h" +#if CONFIG_CODEC == SWCODEC +#include "playback.h" +#endif + #if CONFIG_CODEC == SWCODEC int setcrossfadeonexit_callback(int action,const struct menu_item_ex *this_item) diff --git a/apps/menus/settings_menu.c b/apps/menus/settings_menu.c index c55695333c..9d816c99b1 100644 --- a/apps/menus/settings_menu.c +++ b/apps/menus/settings_menu.c @@ -34,7 +34,10 @@ #include "splash.h" #include "talk.h" #include "sprintf.h" -#include "powermgmt.h" +#include "powermgmt.h" +#if CONFIG_CODEC == SWCODEC +#include "playback.h" +#endif #ifdef HAVE_RTC_ALARM #include "alarm_menu.h" #endif -- cgit v1.2.3