mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00: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 ✅
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue