summaryrefslogtreecommitdiffstats
path: root/libbacktrace/BacktraceImpl.cpp
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2014-05-09 16:59:06 -0700
committerChristopher Ferris <cferris@google.com>2014-05-09 16:59:06 -0700
commitc58287d60166ebdb1bd39fa40e5524c868c73a9b (patch)
treea594c23641d255bc9c2842cb63e1a8220021bb39 /libbacktrace/BacktraceImpl.cpp
parentb49f23ed3198ee6129ad675e26c8d197ed984017 (diff)
downloadsystem_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.cpp1
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>