summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2014-05-09 18:16:29 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-05-09 18:16:29 +0000
commitc1087e55c63f2c206eae676fd4c237585a64e8e5 (patch)
tree7a3de08fdbe061c6e2ff8f847c7da4ac619185fc /include
parent66e31dc51e0d8db595cc1514527c4db6f5cdeba7 (diff)
parentbf6c2dbef5ab775f7c6af6a2776793c2af41bc40 (diff)
downloadsystem_core-c1087e55c63f2c206eae676fd4c237585a64e8e5.zip
system_core-c1087e55c63f2c206eae676fd4c237585a64e8e5.tar.gz
system_core-c1087e55c63f2c206eae676fd4c237585a64e8e5.tar.bz2
am bf6c2dbe: Merge "Fix mac build."
* commit 'bf6c2dbef5ab775f7c6af6a2776793c2af41bc40': 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.