summaryrefslogtreecommitdiff
path: root/Kernel/Bus/USB
diff options
context:
space:
mode:
authorAndrew Kaster <akaster@serenityos.org>2023-01-07 13:57:33 -0700
committerAndrew Kaster <andrewdkaster@gmail.com>2023-01-21 10:43:59 -0700
commit7ab37ee22cb85820ec73f0677f06125c466feeff (patch)
tree2c379f4e95a9b48dfb20a4d615b39d583bd96149 /Kernel/Bus/USB
parent0420736143067c16339a08ced1ff16da36e4e163 (diff)
downloadserenity-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/Bus/USB')
-rw-r--r--Kernel/Bus/USB/USBConfiguration.cpp1
-rw-r--r--Kernel/Bus/USB/USBTransfer.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/Kernel/Bus/USB/USBConfiguration.cpp b/Kernel/Bus/USB/USBConfiguration.cpp
index 93229d1e88..bf913f0006 100644
--- a/Kernel/Bus/USB/USBConfiguration.cpp
+++ b/Kernel/Bus/USB/USBConfiguration.cpp
@@ -9,6 +9,7 @@
#include <Kernel/Bus/USB/USBConfiguration.h>
#include <Kernel/Bus/USB/USBInterface.h>
#include <Kernel/Bus/USB/USBRequest.h>
+#include <Kernel/StdLib.h>
namespace Kernel::USB {
diff --git a/Kernel/Bus/USB/USBTransfer.cpp b/Kernel/Bus/USB/USBTransfer.cpp
index ada524d4f0..528df1ae30 100644
--- a/Kernel/Bus/USB/USBTransfer.cpp
+++ b/Kernel/Bus/USB/USBTransfer.cpp
@@ -6,6 +6,7 @@
#include <Kernel/Bus/USB/USBTransfer.h>
#include <Kernel/Memory/MemoryManager.h>
+#include <Kernel/StdLib.h>
namespace Kernel::USB {