summaryrefslogtreecommitdiff
path: root/linker/linker_allocator.h
diff options
context:
space:
mode:
Diffstat (limited to 'linker/linker_allocator.h')
-rw-r--r--linker/linker_allocator.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/linker/linker_allocator.h b/linker/linker_allocator.h
index 82e4ef456..8c4198b65 100644
--- a/linker/linker_allocator.h
+++ b/linker/linker_allocator.h
@@ -32,6 +32,7 @@
#include <stdlib.h>
#include <sys/cdefs.h>
#include <sys/mman.h>
+#include <sys/prctl.h>
#include <stddef.h>
#include <unistd.h>
@@ -39,8 +40,6 @@
#include <async_safe/log.h>
-#include "private/bionic_prctl.h"
-
const uint32_t kSmallObjectMaxSizeLog2 = 10;
const uint32_t kSmallObjectMinSizeLog2 = 4;
const uint32_t kSmallObjectAllocatorsCount = kSmallObjectMaxSizeLog2 - kSmallObjectMinSizeLog2 + 1;