mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 13:36:13 +03:00
AK: Restrict include of LibC header
This commit is contained in:
parent
d1c397ad6e
commit
d575cfda61
Notes:
sideshowbarker
2024-07-17 06:40:21 +09:00
Author: https://github.com/BenWiederhake Commit: https://github.com/SerenityOS/serenity/commit/d575cfda61 Pull-request: https://github.com/SerenityOS/serenity/pull/16791 Reviewed-by: https://github.com/ADKaster ✅
@ -12,8 +12,8 @@
|
||||
#if defined(KERNEL)
|
||||
# include <Kernel/Arch/Processor.h>
|
||||
# include <Kernel/Heap/kmalloc.h>
|
||||
#else
|
||||
# include <LibC/mallocdefs.h>
|
||||
#elif defined(AK_OS_SERENITY)
|
||||
# include <mallocdefs.h>
|
||||
#endif
|
||||
|
||||
namespace AK {
|
||||
|
Loading…
Reference in New Issue
Block a user