summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/codec_thread.c1
-rw-r--r--apps/rbcodecconfig.h3
-rw-r--r--apps/recorder/bmp.c4
-rw-r--r--apps/recorder/resize.c8
-rw-r--r--apps/voice_thread.c2
5 files changed, 14 insertions, 4 deletions
diff --git a/apps/codec_thread.c b/apps/codec_thread.c
index 8f9f5a3c74..f2039d10e6 100644
--- a/apps/codec_thread.c
+++ b/apps/codec_thread.c
@@ -20,6 +20,7 @@
20 * KIND, either express or implied. 20 * KIND, either express or implied.
21 * 21 *
22 ****************************************************************************/ 22 ****************************************************************************/
23
23#include "config.h" 24#include "config.h"
24#include "system.h" 25#include "system.h"
25#include "kernel.h" 26#include "kernel.h"
diff --git a/apps/rbcodecconfig.h b/apps/rbcodecconfig.h
index c92415979f..92584187ea 100644
--- a/apps/rbcodecconfig.h
+++ b/apps/rbcodecconfig.h
@@ -18,6 +18,9 @@
18 * {,U}INT{8,16,32,64}_{MIN,MAX} */ 18 * {,U}INT{8,16,32,64}_{MIN,MAX} */
19#include "system.h" 19#include "system.h"
20 20
21/* HZ, TIME_AFTER */
22#include "kernel.h"
23
21/* Structure to record some info during processing call */ 24/* Structure to record some info during processing call */
22struct dsp_loop_context 25struct dsp_loop_context
23{ 26{
diff --git a/apps/recorder/bmp.c b/apps/recorder/bmp.c
index e4eb588eb3..dfd6a0474e 100644
--- a/apps/recorder/bmp.c
+++ b/apps/recorder/bmp.c
@@ -38,6 +38,7 @@
38 ahead by whole lines, or read the next chunk of the current line 38 ahead by whole lines, or read the next chunk of the current line
39*/ 39*/
40 40
41#define ROCKBOX_DEBUG_BMP_LOADER
41#include <stdio.h> 42#include <stdio.h>
42#include <stdlib.h> 43#include <stdlib.h>
43#include <string.h> 44#include <string.h>
@@ -53,7 +54,7 @@
53#include "lcd-remote.h" 54#include "lcd-remote.h"
54#endif 55#endif
55#ifdef ROCKBOX_DEBUG_BMP_LOADER 56#ifdef ROCKBOX_DEBUG_BMP_LOADER
56#define BDEBUGF DEBUGF 57#define BDEBUGF printf
57#else 58#else
58#define BDEBUGF(...) 59#define BDEBUGF(...)
59#endif 60#endif
@@ -774,6 +775,7 @@ int read_bmp_fd(int fd,
774#endif 775#endif
775 .alpha_detected = false, .first_alpha_byte = 0x80, 776 .alpha_detected = false, .first_alpha_byte = 0x80,
776 .order = order, 777 .order = order,
778 .buf = NULL,
777 }; 779 };
778 780
779#if (LCD_DEPTH > 1 || (defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1)) && \ 781#if (LCD_DEPTH > 1 || (defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1)) && \
diff --git a/apps/recorder/resize.c b/apps/recorder/resize.c
index 1e45b66a24..32384537d4 100644
--- a/apps/recorder/resize.c
+++ b/apps/recorder/resize.c
@@ -31,12 +31,14 @@
31 * 31 *
32 ****************************************************************************/ 32 ****************************************************************************/
33 33
34#include <system.h>
35#include <stdio.h> 34#include <stdio.h>
36#include <stdlib.h> 35#include <stdlib.h>
37#include <string.h> 36#include <string.h>
38#include <general.h> 37#include <stdint.h>
39#include "inttypes.h" 38
39#include "general.h"
40#include "kernel.h"
41#include "system.h"
40#ifndef PLUGIN 42#ifndef PLUGIN
41#include "debug.h" 43#include "debug.h"
42#endif 44#endif
diff --git a/apps/voice_thread.c b/apps/voice_thread.c
index 7788f659b0..3b6fe5b3ba 100644
--- a/apps/voice_thread.c
+++ b/apps/voice_thread.c
@@ -18,8 +18,10 @@
18 * KIND, either express or implied. 18 * KIND, either express or implied.
19 * 19 *
20 ****************************************************************************/ 20 ****************************************************************************/
21
21#include "config.h" 22#include "config.h"
22#include "system.h" 23#include "system.h"
24#include "kernel.h"
23#include "core_alloc.h" 25#include "core_alloc.h"
24#include "thread.h" 26#include "thread.h"
25#include "appevents.h" 27#include "appevents.h"