commit | c58287d60166ebdb1bd39fa40e5524c868c73a9b | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Fri May 09 16:59:06 2014 -0700 |
committer | Christopher Ferris <cferris@google.com> | Fri May 09 16:59:06 2014 -0700 |
tree | a594c23641d255bc9c2842cb63e1a8220021bb39 | |
parent | b49f23ed3198ee6129ad675e26c8d197ed984017 [diff] [blame] |
Only include ucontext.h when necessary. Change-Id: I29014f6c6b82e0a9797e5d76147b3c4e3d82a7f5
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>