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/TTY/PTYMultiplexer.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/TTY/PTYMultiplexer.cpp')
-rw-r--r-- | Kernel/TTY/PTYMultiplexer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/TTY/PTYMultiplexer.cpp b/Kernel/TTY/PTYMultiplexer.cpp index 77578c3b1d..2a9a0eded6 100644 --- a/Kernel/TTY/PTYMultiplexer.cpp +++ b/Kernel/TTY/PTYMultiplexer.cpp @@ -5,12 +5,12 @@ */ #include <AK/Singleton.h> +#include <Kernel/API/POSIX/errno.h> #include <Kernel/Debug.h> #include <Kernel/FileSystem/OpenFileDescription.h> #include <Kernel/Sections.h> #include <Kernel/TTY/MasterPTY.h> #include <Kernel/TTY/PTYMultiplexer.h> -#include <LibC/errno_numbers.h> namespace Kernel { |