Fixed the errors.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7133 a1c6a512-1295-4272-9138-f99709370657
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index f5477c2..1e88954 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -62,6 +62,7 @@
 extern bool pcm_rec_screen(void);
 #endif
 #if CONFIG_HWCODEC == MASNONE
+#include "pcmbuf.h"
 #include "pcm_playback.h"
 #endif
 
diff --git a/firmware/mp3data.c b/firmware/mp3data.c
index 087bcf5..41265f9 100644
--- a/firmware/mp3data.c
+++ b/firmware/mp3data.c
@@ -37,11 +37,6 @@
 #include "file.h"
 #include "buffer.h"
 
-#if defined(IRIVER_H100) && !defined(SIMULATOR)
-#include "pcm_playback.h"
-#include "kernel.h"
-#endif
-
 #define DEBUG_VERBOSE
 
 #define BYTES2INT(b1,b2,b3,b4) (((long)(b1 & 0xFF) << (3*8)) |      \
@@ -262,14 +257,7 @@
 }
 
 static int fileread(int fd, unsigned char *c)
-{
-#if defined(IRIVER_H100) && !defined(SIMULATOR)
-    /* We don't want to eat all cpu power. Maybe better way to do this
-       should be implemented. */
-    if (pcm_is_lowdata())
-        yield();
-#endif
-    
+{    
     return read(fd, c, 1);
 }