mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:17:45 +00:00
Everywhere: Remove string.h include from AK/Traits.h and resolve fallout
A lot of places were relying on AK/Traits.h to give it strnlen, memcmp, memcpy and other related declarations. In the quest to remove inclusion of LibC headers from Kernel files, deal with all the fallout of this included-everywhere header including less things.
This commit is contained in:
parent
0420736143
commit
7ab37ee22c
14 changed files with 35 additions and 18 deletions
|
@ -10,7 +10,9 @@
|
|||
#include <AK/Try.h>
|
||||
#include <LibEDID/EDID.h>
|
||||
|
||||
#ifndef KERNEL
|
||||
#ifdef KERNEL
|
||||
# include <Kernel/StdLib.h>
|
||||
#else
|
||||
# include <AK/ScopeGuard.h>
|
||||
# include <Kernel/API/Graphics.h>
|
||||
# include <fcntl.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue