From 23d749b296948342b2ffb19b22cc83be779e919e Mon Sep 17 00:00:00 2001 From: briaguya <70942617+briaguya-ai@users.noreply.github.com> Date: Sun, 21 Jan 2024 01:17:04 -0500 Subject: [PATCH] i got a dupe def error without this (#84) Co-authored-by: louist103 <35883445+louist103@users.noreply.github.com> --- mm/include/libc/alloca.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mm/include/libc/alloca.h b/mm/include/libc/alloca.h index 12bda3a55..68c40475e 100644 --- a/mm/include/libc/alloca.h +++ b/mm/include/libc/alloca.h @@ -1,7 +1,10 @@ #ifndef LIBC_ALLOCA_H #define LIBC_ALLOCA_H -// void* alloca(u32); +#ifndef __linux__ +void* alloca(u32); +#endif + #define alloca __builtin_alloca #endif