From 6030b176c2819c83c625f257ad7e8632a8245ed9 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Tue, 17 Feb 2015 15:33:03 -0500 Subject: Emulate the Rockbox plugin API, ported xracer Tons of changes --- libc/include/stdlib.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libc/include/stdlib.h') diff --git a/libc/include/stdlib.h b/libc/include/stdlib.h index a6e27f2..49116df 100644 --- a/libc/include/stdlib.h +++ b/libc/include/stdlib.h @@ -1,6 +1,8 @@ #ifndef _STDLIB_H_ #define _STDLIB_H_ +#include + /* this is by no means standards-compliant... but who cares? :P */ /* NOT reentrant! */ @@ -14,5 +16,7 @@ char* itoa(int val, int base); unsigned int rand(void); void srand(unsigned int); int abs(int); +void *malloc(size_t); +int snprintf(char*, int, const char*, ...); #endif -- cgit v1.1