AK: Restrict include of LibC header

This commit is contained in:
Ben Wiederhake 2023-01-03 15:20:56 +01:00 committed by Andrew Kaster
parent d1c397ad6e
commit d575cfda61
Notes: sideshowbarker 2024-07-17 06:40:21 +09:00

View file

@ -12,8 +12,8 @@
#if defined(KERNEL) #if defined(KERNEL)
# include <Kernel/Arch/Processor.h> # include <Kernel/Arch/Processor.h>
# include <Kernel/Heap/kmalloc.h> # include <Kernel/Heap/kmalloc.h>
#else #elif defined(AK_OS_SERENITY)
# include <LibC/mallocdefs.h> # include <mallocdefs.h>
#endif #endif
namespace AK { namespace AK {