summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2014-05-09 18:13:05 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-05-09 18:13:06 +0000
commitbf6c2dbef5ab775f7c6af6a2776793c2af41bc40 (patch)
tree0a3847f8b0dc9d831b10a5e151f02eca7aa68b1f /include
parent3a088524cbd00c140c8fe043ce989ddcf28e7042 (diff)
parentb138037b266487e79c729d9daae94ed31b93e550 (diff)
downloadsystem_core-bf6c2dbef5ab775f7c6af6a2776793c2af41bc40.zip
system_core-bf6c2dbef5ab775f7c6af6a2776793c2af41bc40.tar.gz
system_core-bf6c2dbef5ab775f7c6af6a2776793c2af41bc40.tar.bz2
Merge "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.