diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-03-01 12:18:30 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-03-01 12:18:30 +0000 |
commit | 08575f0debd6236f51e6f36e10a77b7aefe12358 (patch) | |
tree | 4b88806d527428555b7cddd74c8e182306a0c512 /apps | |
parent | c423e878ee751445b3af5fcf941afaef6e3a742d (diff) | |
download | rockbox-08575f0debd6236f51e6f36e10a77b7aefe12358.tar.gz rockbox-08575f0debd6236f51e6f36e10a77b7aefe12358.zip |
fix builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12531 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/root_menu.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/root_menu.c b/apps/root_menu.c index b148f8d827..faebc96eef 100644 --- a/apps/root_menu.c +++ b/apps/root_menu.c | |||
@@ -29,7 +29,9 @@ | |||
29 | #include "debug.h" | 29 | #include "debug.h" |
30 | #include "misc.h" | 30 | #include "misc.h" |
31 | #include "rolo.h" | 31 | #include "rolo.h" |
32 | #if LCD_DEPTH > 1 | ||
32 | #include "backdrop.h" | 33 | #include "backdrop.h" |
34 | #endif | ||
33 | #include "talk.h" | 35 | #include "talk.h" |
34 | #include "audio.h" | 36 | #include "audio.h" |
35 | 37 | ||
@@ -44,7 +46,9 @@ | |||
44 | 46 | ||
45 | #include "main_menu.h" | 47 | #include "main_menu.h" |
46 | #include "tree.h" | 48 | #include "tree.h" |
49 | #if CONFIG_TUNER | ||
47 | #include "radio.h" | 50 | #include "radio.h" |
51 | #endif | ||
48 | #ifdef HAVE_RECORDING | 52 | #ifdef HAVE_RECORDING |
49 | #include "recording.h" | 53 | #include "recording.h" |
50 | #endif | 54 | #endif |
@@ -74,7 +78,7 @@ static int browser(void* param) | |||
74 | /* and stuff for the database browser */ | 78 | /* and stuff for the database browser */ |
75 | static int last_db_dirlevel = 0; | 79 | static int last_db_dirlevel = 0; |
76 | 80 | ||
77 | switch ((int)param) | 81 | switch ((intptr_t)param) |
78 | { | 82 | { |
79 | case GO_TO_FILEBROWSER: | 83 | case GO_TO_FILEBROWSER: |
80 | filter = global_settings.dirfilter; | 84 | filter = global_settings.dirfilter; |
@@ -102,7 +106,7 @@ static int browser(void* param) | |||
102 | break; | 106 | break; |
103 | } | 107 | } |
104 | ret_val = rockbox_browse(folder, filter); | 108 | ret_val = rockbox_browse(folder, filter); |
105 | switch ((int)param) | 109 | switch ((intptr_t)param) |
106 | { | 110 | { |
107 | case GO_TO_FILEBROWSER: | 111 | case GO_TO_FILEBROWSER: |
108 | strcpy(last_folder, tc->currdir); | 112 | strcpy(last_folder, tc->currdir); |