diff options
author | Hendiadyoin1 <leon2002.la@gmail.com> | 2021-06-23 22:54:41 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-24 00:38:23 +0200 |
commit | 37253ebcae6a9e172903ea1b9fae19c42055a53b (patch) | |
tree | e345666f8abc0c8cbb022d89e4ff12138636c146 | |
parent | 5c4890411b9fdd8f8d44f20e833452f01fa67917 (diff) | |
download | serenity-37253ebcae6a9e172903ea1b9fae19c42055a53b.zip |
LibELF: Fix missing include
A few files are expecting that someone brings PAGE_SIZE from possibly
the Kernel with them
-rw-r--r-- | Userland/Libraries/LibELF/Image.cpp | 1 | ||||
-rw-r--r-- | Userland/Libraries/LibELF/Validation.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibELF/Image.cpp b/Userland/Libraries/LibELF/Image.cpp index 3b22b83ea2..c0f5399918 100644 --- a/Userland/Libraries/LibELF/Image.cpp +++ b/Userland/Libraries/LibELF/Image.cpp @@ -13,6 +13,7 @@ #include <AK/StringView.h> #include <LibELF/Image.h> #include <LibELF/Validation.h> +#include <limits.h> namespace ELF { diff --git a/Userland/Libraries/LibELF/Validation.cpp b/Userland/Libraries/LibELF/Validation.cpp index 96d8151641..b06a9eb8d5 100644 --- a/Userland/Libraries/LibELF/Validation.cpp +++ b/Userland/Libraries/LibELF/Validation.cpp @@ -10,6 +10,7 @@ #include <AK/String.h> #include <LibC/elf.h> #include <LibELF/Validation.h> +#include <limits.h> namespace ELF { |