diff --git a/libs/libc/stdlib/lib_exit.c b/libs/libc/stdlib/lib_exit.c index b9fa15b861..157dd174f7 100644 --- a/libs/libc/stdlib/lib_exit.c +++ b/libs/libc/stdlib/lib_exit.c @@ -31,7 +31,7 @@ #include #include -#ifndef __KERNEL__ +#if defined(CONFIG_BUILD_FLAT) || !defined(__KERNEL__) /**************************************************************************** * Private Data