summaryrefslogtreecommitdiffstats
path: root/apps/rbcodecconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/rbcodecconfig.h')
-rw-r--r--apps/rbcodecconfig.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/apps/rbcodecconfig.h b/apps/rbcodecconfig.h
new file mode 100644
index 0000000000..6c7a0749f0
--- /dev/null
+++ b/apps/rbcodecconfig.h
@@ -0,0 +1,22 @@
+#ifndef RBCODECCONFIG_H_INCLUDED
+#define RBCODECCONFIG_H_INCLUDED
+
+#include "config.h"
+
+#ifndef __ASSEMBLER__
+
+/* NULL, offsetof, size_t */
+#include <stddef.h>
+
+/* ssize_t, off_t, open, close, read, lseek, SEEK_SET, SEEK_CUR, SEEK_END,
+ * O_RDONLY, O_WRONLY, O_CREAT, O_APPEND, MAX_PATH, filesize */
+#include "file.h"
+
+/* {,u}int{8,16,32,64}_t, , intptr_t, uintptr_t, bool, true, false, swap16,
+ * swap32, hto{be,le}{16,32}, {be,le}toh{16,32}, ROCKBOX_{BIG,LITTLE}_ENDIAN,
+ * {,U}INT{8,16,32,64}_{MIN,MAX} */
+#include "system.h"
+
+#endif
+
+#endif