diff options
author | Andrew Kaster <akaster@serenityos.org> | 2023-01-07 13:57:33 -0700 |
---|---|---|
committer | Andrew Kaster <andrewdkaster@gmail.com> | 2023-01-21 10:43:59 -0700 |
commit | 7ab37ee22cb85820ec73f0677f06125c466feeff (patch) | |
tree | 2c379f4e95a9b48dfb20a4d615b39d583bd96149 /Kernel/KBuffer.h | |
parent | 0420736143067c16339a08ced1ff16da36e4e163 (diff) | |
download | serenity-7ab37ee22cb85820ec73f0677f06125c466feeff.zip |
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.
Diffstat (limited to 'Kernel/KBuffer.h')
-rw-r--r-- | Kernel/KBuffer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/KBuffer.h b/Kernel/KBuffer.h index a3bf599820..77a1729b8a 100644 --- a/Kernel/KBuffer.h +++ b/Kernel/KBuffer.h @@ -18,6 +18,7 @@ #include <AK/Assertions.h> #include <AK/StringView.h> #include <Kernel/Memory/MemoryManager.h> +#include <Kernel/StdLib.h> // For memcpy. FIXME: Make memcpy less expensive to access a declaration of in the Kernel. namespace Kernel { |