summaryrefslogtreecommitdiff
path: root/firmware/general.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2014-01-05 01:22:19 +0100
committerThomas Martitz <kugel@rockbox.org>2014-01-05 19:35:23 +0100
commit281d1fadb34242347da379ddeba75d2195148b4c (patch)
treedd1d1fb044d4e905c56b73e94d88a47ccc215a71 /firmware/general.c
parentdd7b14173647c6e3326d705e5c4d802a35711030 (diff)
Do not include kernel.h in system.h.
system.h doesn't need it on its own and this change makes it less dependant on Rockbox internals. Change-Id: I4e1e4108a52a7b599627a829204eb82b392fc6d6
Diffstat (limited to 'firmware/general.c')
-rw-r--r--firmware/general.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/general.c b/firmware/general.c
index 8e6d5af9a0..d6c1d2f465 100644
--- a/firmware/general.c
+++ b/firmware/general.c
@@ -19,8 +19,10 @@
*
****************************************************************************/
-#include "config.h"
#include <stdio.h>
+#include "config.h"
+#include "system.h"
+#include "kernel.h"
#include "general.h"
#include "file.h"
#include "dir.h"
@@ -28,7 +30,6 @@
#include "limits.h"
#include "stdlib.h"
#include "string-extra.h"
-#include "system.h"
#include "time.h"
#include "timefuncs.h"