diff options
Diffstat (limited to 'src/user/lib/include/stdlib.h')
-rw-r--r-- | src/user/lib/include/stdlib.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/user/lib/include/stdlib.h b/src/user/lib/include/stdlib.h index de6e550..7f6630d 100644 --- a/src/user/lib/include/stdlib.h +++ b/src/user/lib/include/stdlib.h @@ -1,7 +1,8 @@ #pragma once #include <stddef.h> -void *malloc(size_t size); -void free(void *ptr); +#ifndef NO_MALLOC_H +#include <user/lib/vendor/dlmalloc/malloc.h> +#endif _Noreturn void abort(void); |