summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2011-01-29 15:14:23 +0000
committerThomas Martitz <kugel@rockbox.org>2011-01-29 15:14:23 +0000
commitc402519e31341397d8097240317a1c180ec55bef (patch)
tree6492c89e63181c919df2677fb60026c27d9e1264 /apps
parentab50ed71713fb35b7ddda37cad9be19cea1f139b (diff)
downloadrockbox-c402519e31341397d8097240317a1c180ec55bef.tar.gz
rockbox-c402519e31341397d8097240317a1c180ec55bef.tar.bz2
rockbox-c402519e31341397d8097240317a1c180ec55bef.zip
Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29165 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/menus/radio_menu.c4
-rw-r--r--apps/recorder/recording.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/apps/menus/radio_menu.c b/apps/menus/radio_menu.c
index 2a15fe8ee5..e787aaa3e6 100644
--- a/apps/menus/radio_menu.c
+++ b/apps/menus/radio_menu.c
@@ -28,9 +28,10 @@
#include "settings.h"
#include "presets.h"
#include "exported_menus.h"
-#include "recording.h" /* recording_screen() */
#include "sound_menu.h" /* recording_menu() */
+#ifdef HAVE_RECORDING
+#include "recording.h" /* recording_screen() */
#if defined(HAVE_FMRADIO_REC) && CONFIG_CODEC == SWCODEC
#define FM_RECORDING_SCREEN
@@ -75,6 +76,7 @@ static int fm_recording_settings(void)
MENUITEM_FUNCTION(recsettings_item, 0, ID2P(LANG_RECORDING_SETTINGS),
fm_recording_settings, NULL, NULL, Icon_Recording);
#endif /* defined(HAVE_FMRADIO_REC) || CONFIG_CODEC != SWCODEC */
+#endif /* HAVE_RECORDING */
#ifndef FM_PRESET
MENUITEM_FUNCTION(radio_presets_item, 0, ID2P(LANG_PRESET),
diff --git a/apps/recorder/recording.h b/apps/recorder/recording.h
index eb766e162d..406986e8e0 100644
--- a/apps/recorder/recording.h
+++ b/apps/recorder/recording.h
@@ -20,6 +20,8 @@
****************************************************************************/
#ifndef RECORDING_H
#define RECORDING_H
+
+#include "config.h"
#include "audio.h"
bool in_recording_screen(void);