diff options
author | Yunlian Jiang <yunlian@google.com> | 2016-05-18 12:56:22 -0700 |
---|---|---|
committer | Yunlian Jiang <yunlian@google.com> | 2016-05-18 12:56:22 -0700 |
commit | 9eb2c6fe6caacdc2c063274ca4d81aa7a4633143 (patch) | |
tree | 07cf79ff9dd03daf1624cd80a9fa71391bd0bd76 | |
parent | Don't let PDBSourceLineWriter::GetSymbolFunctionName return empty function names (diff) | |
download | breakpad-9eb2c6fe6caacdc2c063274ca4d81aa7a4633143.tar.xz |
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 .
-rw-r--r-- | src/common/dwarf/elf_reader.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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 <sys/mman.h> #include <unistd.h> #include <fcntl.h> -#include <elf.h> #include <string.h> #include <algorithm> @@ -44,6 +43,7 @@ #include <vector> #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. |