Merge "Fix mac build."

This commit is contained in:
Christopher Ferris 2014-05-09 18:13:05 +00:00 committed by Gerrit Code Review
commit bf6c2dbef5

View file

@ -19,7 +19,6 @@
#include <inttypes.h> #include <inttypes.h>
#include <stdint.h> #include <stdint.h>
#include <ucontext.h>
#include <string> #include <string>
#include <vector> #include <vector>
@ -48,6 +47,9 @@ struct backtrace_frame_data_t {
// Forward declarations. // Forward declarations.
class BacktraceImpl; class BacktraceImpl;
struct ucontext;
typedef ucontext ucontext_t;
class Backtrace { class Backtrace {
public: public:
// Create the correct Backtrace object based on what is to be unwound. // Create the correct Backtrace object based on what is to be unwound.