diff options
author | Elliott Hughes <enh@google.com> | 2014-01-10 14:40:53 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-01-10 14:40:53 -0800 |
commit | cac5d8c2235a6942fcf3c62ce7e775bbdfc620f0 (patch) | |
tree | baa886b55afa54072e4a224b4b8f9740d35286ab | |
parent | 08a140e6a3989ece3854014123dac243cc372886 (diff) | |
download | system_core-cac5d8c2235a6942fcf3c62ce7e775bbdfc620f0.zip system_core-cac5d8c2235a6942fcf3c62ce7e775bbdfc620f0.tar.gz system_core-cac5d8c2235a6942fcf3c62ce7e775bbdfc620f0.tar.bz2 |
Use the more portable <elf.h> instead of <sys/exec_elf.h>.
Bug: 12476126
Change-Id: I08684987e867371d5537dadf1acb3408b420ad0c
-rw-r--r-- | debuggerd/debuggerd.c | 2 | ||||
-rw-r--r-- | libcorkscrew/arch-arm/backtrace-arm.c | 2 | ||||
-rw-r--r-- | libcorkscrew/arch-arm/ptrace-arm.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/debuggerd/debuggerd.c b/debuggerd/debuggerd.c index 756f7bb..4fd0312 100644 --- a/debuggerd/debuggerd.c +++ b/debuggerd/debuggerd.c @@ -27,7 +27,7 @@ #include <sys/ptrace.h> #include <sys/wait.h> -#include <sys/exec_elf.h> +#include <elf.h> #include <sys/stat.h> #include <sys/poll.h> diff --git a/libcorkscrew/arch-arm/backtrace-arm.c b/libcorkscrew/arch-arm/backtrace-arm.c index ff6c192..7bd0d8f 100644 --- a/libcorkscrew/arch-arm/backtrace-arm.c +++ b/libcorkscrew/arch-arm/backtrace-arm.c @@ -59,7 +59,7 @@ #include <limits.h> #include <errno.h> #include <sys/ptrace.h> -#include <sys/exec_elf.h> +#include <elf.h> #include <cutils/log.h> #if !defined(__BIONIC_HAVE_UCONTEXT_T) diff --git a/libcorkscrew/arch-arm/ptrace-arm.c b/libcorkscrew/arch-arm/ptrace-arm.c index 78a9ea9..a50844e 100644 --- a/libcorkscrew/arch-arm/ptrace-arm.c +++ b/libcorkscrew/arch-arm/ptrace-arm.c @@ -19,7 +19,7 @@ #include "../ptrace-arch.h" -#include <sys/exec_elf.h> +#include <elf.h> #include <cutils/log.h> #ifndef PT_ARM_EXIDX |