From dfe9a52c5366962ae411ce8f5a2bcaa607ff4b1c Mon Sep 17 00:00:00 2001 From: kugel Date: Sat, 29 Jan 2011 15:14:23 +0000 Subject: [PATCH] Fix yellow git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29165 a1c6a512-1295-4272-9138-f99709370657 --- apps/menus/radio_menu.c | 4 +++- apps/recorder/recording.h | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) 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); -- 2.11.4.GIT