summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2014-05-09 18:19:04 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-05-09 18:19:04 +0000
commit8ad708c56570d81def649911bdfc42f5c350e4b8 (patch)
tree0e22791c9929fa54f1d6516cd840858ad139b780 /include
parent3adbe79d2f14665ff55a9b0db245abebc105658d (diff)
parentc1087e55c63f2c206eae676fd4c237585a64e8e5 (diff)
downloadsystem_core-8ad708c56570d81def649911bdfc42f5c350e4b8.zip
system_core-8ad708c56570d81def649911bdfc42f5c350e4b8.tar.gz
system_core-8ad708c56570d81def649911bdfc42f5c350e4b8.tar.bz2
am c1087e55: am bf6c2dbe: Merge "Fix mac build."
* commit 'c1087e55c63f2c206eae676fd4c237585a64e8e5': Fix mac build.
Diffstat (limited to 'include')
-rw-r--r--include/backtrace/Backtrace.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/backtrace/Backtrace.h b/include/backtrace/Backtrace.h
index 561dfeb..84b5631 100644
--- a/include/backtrace/Backtrace.h
+++ b/include/backtrace/Backtrace.h
@@ -19,7 +19,6 @@
#include <inttypes.h>
#include <stdint.h>
-#include <ucontext.h>
#include <string>
#include <vector>
@@ -48,6 +47,9 @@ struct backtrace_frame_data_t {
// Forward declarations.
class BacktraceImpl;
+struct ucontext;
+typedef ucontext ucontext_t;
+
class Backtrace {
public:
// Create the correct Backtrace object based on what is to be unwound.