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/UnwindPtrace.cpp b/libbacktrace/UnwindPtrace.cpp index 63b4f16..7ba8775 100644 --- a/libbacktrace/UnwindPtrace.cpp +++ b/libbacktrace/UnwindPtrace.cpp
@@ -19,6 +19,7 @@ #include <sys/types.h> #include <string.h> +#include <ucontext.h> #include <libunwind.h> #include <libunwind-ptrace.h>