diff options
Diffstat (limited to 'apps/menus')
-rw-r--r-- | apps/menus/playback_menu.c | 6 | ||||
-rw-r--r-- | apps/menus/settings_menu.c | 5 |
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 |