Skip to content

Commit

Permalink
AK+Kernel: Add includes before removing Kernel/ProcessExposed.h
Browse files Browse the repository at this point in the history
Apparently without this file, we won't be able to compile due to missing
includes to TimeManagement and KBufferBuilder.
  • Loading branch information
supercomputer7 authored and linusg committed Feb 24, 2023
1 parent 87c4080 commit 12b7328
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions AK/Format.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#ifdef KERNEL
# include <Kernel/Process.h>
# include <Kernel/Thread.h>
# include <Kernel/Time/TimeManagement.h>
#else
# include <math.h>
# include <stdio.h>
Expand Down
1 change: 1 addition & 0 deletions Kernel/Coredump.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <Kernel/FileSystem/Custody.h>
#include <Kernel/FileSystem/OpenFileDescription.h>
#include <Kernel/FileSystem/VirtualFileSystem.h>
#include <Kernel/KBufferBuilder.h>
#include <Kernel/KLexicalPath.h>
#include <Kernel/Locking/Spinlock.h>
#include <Kernel/Memory/ScopedAddressSpaceSwitcher.h>
Expand Down
1 change: 1 addition & 0 deletions Kernel/FileSystem/DevPtsFS/FileSystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <Kernel/FileSystem/DevPtsFS/FileSystem.h>
#include <Kernel/FileSystem/DevPtsFS/Inode.h>
#include <Kernel/TTY/SlavePTY.h>
#include <Kernel/Time/TimeManagement.h>

namespace Kernel {

Expand Down
1 change: 1 addition & 0 deletions Kernel/PerformanceEventBuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <Kernel/KBufferBuilder.h>
#include <Kernel/PerformanceEventBuffer.h>
#include <Kernel/Process.h>
#include <Kernel/Time/TimeManagement.h>

namespace Kernel {

Expand Down
1 change: 1 addition & 0 deletions Kernel/PerformanceManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <Kernel/PerformanceEventBuffer.h>
#include <Kernel/Process.h>
#include <Kernel/Thread.h>
#include <Kernel/Time/TimeManagement.h>

namespace Kernel {

Expand Down
1 change: 1 addition & 0 deletions Kernel/Syscalls/resource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/

#include <Kernel/Process.h>
#include <Kernel/Time/TimeManagement.h>

namespace Kernel {

Expand Down
1 change: 1 addition & 0 deletions Kernel/Syscalls/times.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/

#include <Kernel/Process.h>
#include <Kernel/Time/TimeManagement.h>

namespace Kernel {

Expand Down

0 comments on commit 12b7328

Please sign in to comment.