summaryrefslogtreecommitdiff
path: root/AK/StringUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'AK/StringUtils.cpp')
-rw-r--r--AK/StringUtils.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/AK/StringUtils.cpp b/AK/StringUtils.cpp
index 5640be9109..e544d5af77 100644
--- a/AK/StringUtils.cpp
+++ b/AK/StringUtils.cpp
@@ -14,9 +14,12 @@
#include <AK/StringView.h>
#include <AK/Vector.h>
-#ifndef KERNEL
+#ifdef KERNEL
+# include <Kernel/StdLib.h>
+#else
# include <AK/DeprecatedString.h>
# include <AK/FloatingPointStringConversions.h>
+# include <string.h>
#endif
namespace AK {