mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 17:10:23 +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)
|
#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 {
|
||||||
|
|
Loading…
Reference in a new issue