use another elf.h inside the package for common/dwarf/elf_reader

We tried to use common/android/include/elf.h, however it contains
'#include-next elf.h' so it still breaks MAC build. So we use
third_party/musl/include/elf.h instead.

BUG=none
TEST=make; make test passes. There is no '#include-next elf.h' in
     the new elf.h

R=michaelbai@chromium.org

Review URL: https://codereview.chromium.org/1994633003 .
This commit is contained in:
Yunlian Jiang 2016-05-18 15:06:38 -07:00
parent 9eb2c6fe6c
commit e35167de75

View file

@ -43,7 +43,7 @@
#include <vector>
#include "zlib.h"
#include "common/android/include/elf.h"
#include "third_party/musl/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.