From fa9fba69018dd7055794b9dfab81c7b89e98b279 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 8 Mar 2020 12:33:14 +0100 Subject: [PATCH] Kernel: Add missing #includes now that is smaller --- Kernel/Devices/FloppyDiskDevice.cpp | 1 + Kernel/Devices/FullDevice.cpp | 1 + Kernel/Devices/PATADiskDevice.cpp | 1 + Kernel/Devices/PS2MouseDevice.cpp | 1 + Kernel/Devices/SB16.cpp | 1 + Kernel/Devices/ZeroDevice.cpp | 1 + Kernel/FileSystem/InodeWatcher.cpp | 1 + Kernel/Heap/SlabAllocator.cpp | 1 + Kernel/KBuffer.h | 1 + Kernel/ProcessTracer.cpp | 1 + Kernel/VM/MemoryManager.cpp | 1 + Kernel/VM/PageDirectory.cpp | 1 + Kernel/VM/Region.cpp | 1 + 13 files changed, 13 insertions(+) diff --git a/Kernel/Devices/FloppyDiskDevice.cpp b/Kernel/Devices/FloppyDiskDevice.cpp index dfe1f8cdaa..7eaecffe57 100644 --- a/Kernel/Devices/FloppyDiskDevice.cpp +++ b/Kernel/Devices/FloppyDiskDevice.cpp @@ -24,6 +24,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include #include #include #include diff --git a/Kernel/Devices/FullDevice.cpp b/Kernel/Devices/FullDevice.cpp index 8ce100bc46..79f4a2d3e7 100644 --- a/Kernel/Devices/FullDevice.cpp +++ b/Kernel/Devices/FullDevice.cpp @@ -25,6 +25,7 @@ */ #include "FullDevice.h" +#include #include #include diff --git a/Kernel/Devices/PATADiskDevice.cpp b/Kernel/Devices/PATADiskDevice.cpp index 5dad693b88..a3aeb13a75 100644 --- a/Kernel/Devices/PATADiskDevice.cpp +++ b/Kernel/Devices/PATADiskDevice.cpp @@ -26,6 +26,7 @@ //#define PATA_DEVICE_DEBUG +#include #include #include #include diff --git a/Kernel/Devices/PS2MouseDevice.cpp b/Kernel/Devices/PS2MouseDevice.cpp index a6a0252e0f..a1c10251ec 100644 --- a/Kernel/Devices/PS2MouseDevice.cpp +++ b/Kernel/Devices/PS2MouseDevice.cpp @@ -24,6 +24,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include #include #include #include diff --git a/Kernel/Devices/SB16.cpp b/Kernel/Devices/SB16.cpp index fc1b5c0474..85f8e380f3 100644 --- a/Kernel/Devices/SB16.cpp +++ b/Kernel/Devices/SB16.cpp @@ -24,6 +24,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include #include #include #include diff --git a/Kernel/Devices/ZeroDevice.cpp b/Kernel/Devices/ZeroDevice.cpp index 6626f743a5..5d1f138c1e 100644 --- a/Kernel/Devices/ZeroDevice.cpp +++ b/Kernel/Devices/ZeroDevice.cpp @@ -25,6 +25,7 @@ */ #include "ZeroDevice.h" +#include #include namespace Kernel { diff --git a/Kernel/FileSystem/InodeWatcher.cpp b/Kernel/FileSystem/InodeWatcher.cpp index 8b7a977eb1..e8c5ffd540 100644 --- a/Kernel/FileSystem/InodeWatcher.cpp +++ b/Kernel/FileSystem/InodeWatcher.cpp @@ -24,6 +24,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include #include #include diff --git a/Kernel/Heap/SlabAllocator.cpp b/Kernel/Heap/SlabAllocator.cpp index b2a4416faa..2910e0a56c 100644 --- a/Kernel/Heap/SlabAllocator.cpp +++ b/Kernel/Heap/SlabAllocator.cpp @@ -25,6 +25,7 @@ */ #include +#include #include #include #include diff --git a/Kernel/KBuffer.h b/Kernel/KBuffer.h index dd39544e06..f5cd6aedf2 100644 --- a/Kernel/KBuffer.h +++ b/Kernel/KBuffer.h @@ -39,6 +39,7 @@ #include #include #include +#include #include #include diff --git a/Kernel/ProcessTracer.cpp b/Kernel/ProcessTracer.cpp index 6485070f36..cead7bfe08 100644 --- a/Kernel/ProcessTracer.cpp +++ b/Kernel/ProcessTracer.cpp @@ -24,6 +24,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include #include namespace Kernel { diff --git a/Kernel/VM/MemoryManager.cpp b/Kernel/VM/MemoryManager.cpp index fbfe47a6a9..aff6ad2dbc 100644 --- a/Kernel/VM/MemoryManager.cpp +++ b/Kernel/VM/MemoryManager.cpp @@ -27,6 +27,7 @@ #include "CMOS.h" #include "Process.h" #include +#include #include #include #include diff --git a/Kernel/VM/PageDirectory.cpp b/Kernel/VM/PageDirectory.cpp index 67a4f96ffa..1a9d6b2ea7 100644 --- a/Kernel/VM/PageDirectory.cpp +++ b/Kernel/VM/PageDirectory.cpp @@ -24,6 +24,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include #include #include #include diff --git a/Kernel/VM/Region.cpp b/Kernel/VM/Region.cpp index de81f750bb..6caf5a24da 100644 --- a/Kernel/VM/Region.cpp +++ b/Kernel/VM/Region.cpp @@ -24,6 +24,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include #include #include #include