summaryrefslogtreecommitdiff
path: root/linker/linker_allocator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linker/linker_allocator.cpp')
-rw-r--r--linker/linker_allocator.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/linker/linker_allocator.cpp b/linker/linker_allocator.cpp
index 015768ac9..df7c999ad 100644
--- a/linker/linker_allocator.cpp
+++ b/linker/linker_allocator.cpp
@@ -27,16 +27,19 @@
*/
#include "linker_allocator.h"
-#include "linker_debug.h"
-#include "linker.h"
#include <stdlib.h>
+#include <string.h>
#include <sys/mman.h>
#include <sys/prctl.h>
#include <unistd.h>
+#include <new>
+
#include <async_safe/log.h>
+#include "private/bionic_page.h"
+
//
// LinkerMemeoryAllocator is general purpose allocator
// designed to provide the same functionality as the malloc/free/realloc