diff options
author | sin-ack <sin-ack@users.noreply.github.com> | 2021-09-12 11:29:28 +0000 |
---|---|---|
committer | Ali Mohammad Pur <Ali.mpfard@gmail.com> | 2021-12-16 22:21:35 +0330 |
commit | 69ef2119253522e79a884b897b70df27317531cc (patch) | |
tree | 2f6abe899e2564eef2b1313431a8ddaceb4cace5 /Kernel/Process.cpp | |
parent | 0cca6cef958f7742e4c232ef79311f6e5b039c1f (diff) | |
download | serenity-69ef2119253522e79a884b897b70df27317531cc.zip |
Kernel+LibC: Move errno definitions to Kernel/API/POSIX
This fixes at least half of our LibC includes in the kernel. The source
of truth for errno codes and their description strings now lives in
Kernel/API/POSIX/errno.h as an enumeration, which LibC includes.
Diffstat (limited to 'Kernel/Process.cpp')
-rw-r--r-- | Kernel/Process.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Process.cpp b/Kernel/Process.cpp index 117cbb33bb..87af43fff2 100644 --- a/Kernel/Process.cpp +++ b/Kernel/Process.cpp @@ -17,6 +17,7 @@ #ifdef ENABLE_KERNEL_COVERAGE_COLLECTION # include <Kernel/Devices/KCOVDevice.h> #endif +#include <Kernel/API/POSIX/errno.h> #include <Kernel/Devices/NullDevice.h> #include <Kernel/FileSystem/Custody.h> #include <Kernel/FileSystem/OpenFileDescription.h> @@ -34,7 +35,6 @@ #include <Kernel/TTY/TTY.h> #include <Kernel/Thread.h> #include <Kernel/ThreadTracer.h> -#include <LibC/errno_numbers.h> #include <LibC/limits.h> namespace Kernel { |