From 9eb2c6fe6caacdc2c063274ca4d81aa7a4633143 Mon Sep 17 00:00:00 2001 From: Yunlian Jiang Date: Wed, 18 May 2016 12:56:22 -0700 Subject: [PATCH] Use elf.h inside the package. MAC does not have elf.h, so use the elf.h inside the package instead of the one in the system. One failure example is https://codereview.chromium.org/1978803003/ TEST=make; make check BUG= R=michaelbai@chromium.org Review URL: https://codereview.chromium.org/1984713002 . --- src/common/dwarf/elf_reader.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/dwarf/elf_reader.cc b/src/common/dwarf/elf_reader.cc index b41faa6e..a1f73cd1 100644 --- a/src/common/dwarf/elf_reader.cc +++ b/src/common/dwarf/elf_reader.cc @@ -35,7 +35,6 @@ #include #include #include -#include #include #include @@ -44,6 +43,7 @@ #include #include "zlib.h" +#include "common/android/include/elf.h" #include "elf_reader.h" //#include "using_std_string.h" // EM_AARCH64 is not defined by elf.h of GRTE v3 on x86.