diff options
author | Christopher Ferris <cferris@google.com> | 2014-05-09 16:59:06 -0700 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2014-05-09 16:59:06 -0700 |
commit | c58287d60166ebdb1bd39fa40e5524c868c73a9b (patch) | |
tree | a594c23641d255bc9c2842cb63e1a8220021bb39 /libbacktrace/BacktraceImpl.cpp | |
parent | b49f23ed3198ee6129ad675e26c8d197ed984017 (diff) | |
download | system_core-c58287d60166ebdb1bd39fa40e5524c868c73a9b.zip system_core-c58287d60166ebdb1bd39fa40e5524c868c73a9b.tar.gz system_core-c58287d60166ebdb1bd39fa40e5524c868c73a9b.tar.bz2 |
Only include ucontext.h when necessary.
Change-Id: I29014f6c6b82e0a9797e5d76147b3c4e3d82a7f5
Diffstat (limited to 'libbacktrace/BacktraceImpl.cpp')
-rw-r--r-- | libbacktrace/BacktraceImpl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libbacktrace/BacktraceImpl.cpp b/libbacktrace/BacktraceImpl.cpp index d7ac0b2..405b042 100644 --- a/libbacktrace/BacktraceImpl.cpp +++ b/libbacktrace/BacktraceImpl.cpp @@ -19,6 +19,7 @@ #include <string.h> #include <sys/ptrace.h> #include <sys/types.h> +#include <ucontext.h> #include <unistd.h> #include <string> |