diff --git a/Kernel/Arch/x86/TrapFrame.h b/Kernel/Arch/x86/TrapFrame.h index 057cca05a9d..48e99953d2f 100644 --- a/Kernel/Arch/x86/TrapFrame.h +++ b/Kernel/Arch/x86/TrapFrame.h @@ -8,6 +8,9 @@ #include +#include +VALIDATE_IS_X86() + namespace Kernel { struct RegisterState; diff --git a/Kernel/Memory/MemoryManager.h b/Kernel/Memory/MemoryManager.h index fce1bf5521a..17cf63a65ef 100644 --- a/Kernel/Memory/MemoryManager.h +++ b/Kernel/Memory/MemoryManager.h @@ -11,7 +11,6 @@ #include #include #include -#include #include #include #include diff --git a/Kernel/Scheduler.cpp b/Kernel/Scheduler.cpp index 2544ed3c5a7..10e80dfe1fa 100644 --- a/Kernel/Scheduler.cpp +++ b/Kernel/Scheduler.cpp @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include