diff options
Diffstat (limited to 'runtime/src/alloc.c')
| -rw-r--r-- | runtime/src/alloc.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/runtime/src/alloc.c b/runtime/src/alloc.c index f7972fbf..f68fb128 100644 --- a/runtime/src/alloc.c +++ b/runtime/src/alloc.c @@ -1,14 +1,5 @@ #include "./std/unistd.h" - -#ifdef __WASM__ - -void* malloc(unsigned long); - -#else - -#include <stdlib.h> - -#endif +#include "./alloc.h" void* shed__runtime__alloc(size_t size) { return malloc(size); |
