summaryrefslogtreecommitdiffstats
path: root/runtime/elf_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/elf_utils.h')
-rw-r--r--runtime/elf_utils.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/elf_utils.h b/runtime/elf_utils.h
index f3ec713bcc..f160dc4b2c 100644
--- a/runtime/elf_utils.h
+++ b/runtime/elf_utils.h
@@ -17,9 +17,8 @@
#ifndef ART_RUNTIME_ELF_UTILS_H_
#define ART_RUNTIME_ELF_UTILS_H_
-// Include the micro-API to avoid potential macro conflicts with the
-// compiler's own elf.h file.
-#include "../../bionic/libc/kernel/uapi/linux/elf.h"
+// Explicitly include elf.h from elfutils to avoid Linux and other dependencies.
+#include "../../external/elfutils/0.153/libelf/elf.h"
// Architecture dependent flags for the ELF header.
#define EF_ARM_EABI_VER5 0x05000000