summaryrefslogtreecommitdiff
path: root/apps/menus
diff options
context:
space:
mode:
authorSteve Bavin <pondlife@pondlife.me>2008-03-28 11:24:24 +0000
committerSteve Bavin <pondlife@pondlife.me>2008-03-28 11:24:24 +0000
commitc9df8fd87ba80a3c0d719e76ca68cb829a505b11 (patch)
treecf4493629cd7e960d60f19fa1fc87b2e5b4945b3 /apps/menus
parentf54def9dd59db89a0a7cd304cbcd78d9c6a209ee (diff)
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
Diffstat (limited to 'apps/menus')
-rw-r--r--apps/menus/playback_menu.c6
-rw-r--r--apps/menus/settings_menu.c5
2 files changed, 9 insertions, 2 deletions
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