mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-12-23 11:45:41 +00:00
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 .
This commit is contained in:
parent
67d5567177
commit
9eb2c6fe6c
|
@ -35,7 +35,6 @@
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <elf.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
@ -44,6 +43,7 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include "zlib.h"
|
#include "zlib.h"
|
||||||
|
|
||||||
|
#include "common/android/include/elf.h"
|
||||||
#include "elf_reader.h"
|
#include "elf_reader.h"
|
||||||
//#include "using_std_string.h"
|
//#include "using_std_string.h"
|
||||||
// EM_AARCH64 is not defined by elf.h of GRTE v3 on x86.
|
// EM_AARCH64 is not defined by elf.h of GRTE v3 on x86.
|
||||||
|
|
Loading…
Reference in a new issue