summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibELF
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-03-12 17:29:37 +0100
committerAndreas Kling <kling@serenityos.org>2021-03-12 17:29:37 +0100
commitef1e5db1d063f55e57b1d7623ea7154583fc95ad (patch)
treefb92514e07f4017cb899258137c817c07da9d5c5 /Userland/Libraries/LibELF
parent423ed5339651a2646c64ee4fd7b3b32bb7f8c942 (diff)
downloadserenity-ef1e5db1d063f55e57b1d7623ea7154583fc95ad.zip
Everywhere: Remove klog(), dbg() and purge all LogStream usage :^)
Good-bye LogStream. Long live AK::Format!
Diffstat (limited to 'Userland/Libraries/LibELF')
-rw-r--r--Userland/Libraries/LibELF/DynamicLinker.cpp1
-rw-r--r--Userland/Libraries/LibELF/DynamicLoader.cpp1
2 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibELF/DynamicLinker.cpp b/Userland/Libraries/LibELF/DynamicLinker.cpp
index 89fa43ac17..a598fe8c56 100644
--- a/Userland/Libraries/LibELF/DynamicLinker.cpp
+++ b/Userland/Libraries/LibELF/DynamicLinker.cpp
@@ -30,7 +30,6 @@
#include <AK/HashMap.h>
#include <AK/HashTable.h>
#include <AK/LexicalPath.h>
-#include <AK/LogStream.h>
#include <AK/NonnullRefPtrVector.h>
#include <AK/ScopeGuard.h>
#include <LibC/mman.h>
diff --git a/Userland/Libraries/LibELF/DynamicLoader.cpp b/Userland/Libraries/LibELF/DynamicLoader.cpp
index 682da8642b..b019063911 100644
--- a/Userland/Libraries/LibELF/DynamicLoader.cpp
+++ b/Userland/Libraries/LibELF/DynamicLoader.cpp
@@ -40,6 +40,7 @@
#include <string.h>
#include <sys/mman.h>
#include <sys/stat.h>
+#include <unistd.h>
#ifndef __serenity__
static void* mmap_with_name(void* addr, size_t length, int prot, int flags, int fd, off_t offset, const char*)