diff --git a/AK/StringImpl.cpp b/AK/StringImpl.cpp index f4bd10c68d6..5f5d2f77527 100644 --- a/AK/StringImpl.cpp +++ b/AK/StringImpl.cpp @@ -29,10 +29,6 @@ #include "StdLibExtras.h" #include "kmalloc.h" -#ifndef __serenity__ -#include -#endif - //#define DEBUG_STRINGIMPL #ifdef DEBUG_STRINGIMPL diff --git a/AK/kmalloc.h b/AK/kmalloc.h index 6f6375e71e5..292872c2d11 100644 --- a/AK/kmalloc.h +++ b/AK/kmalloc.h @@ -26,6 +26,10 @@ #pragma once +#ifndef __serenity__ +# include +#endif + #ifdef KERNEL # define AK_MAKE_ETERNAL \ public: \