From d575cfda613197a7e090ee8dee053e48df17d730 Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Tue, 3 Jan 2023 15:20:56 +0100 Subject: [PATCH] AK: Restrict include of LibC header --- AK/NoAllocationGuard.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AK/NoAllocationGuard.h b/AK/NoAllocationGuard.h index a809e68b69..27289a7bd6 100644 --- a/AK/NoAllocationGuard.h +++ b/AK/NoAllocationGuard.h @@ -12,8 +12,8 @@ #if defined(KERNEL) # include # include -#else -# include +#elif defined(AK_OS_SERENITY) +# include #endif namespace AK {