diff options
Diffstat (limited to 'src/google_breakpad')
-rw-r--r-- | src/google_breakpad/processor/minidump.h | 1 | ||||
-rw-r--r-- | src/google_breakpad/processor/stack_frame_cpu.h | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/google_breakpad/processor/minidump.h b/src/google_breakpad/processor/minidump.h index 8c149337..9a135d2d 100644 --- a/src/google_breakpad/processor/minidump.h +++ b/src/google_breakpad/processor/minidump.h @@ -79,6 +79,7 @@ #ifndef GOOGLE_BREAKPAD_PROCESSOR_MINIDUMP_H__ #define GOOGLE_BREAKPAD_PROCESSOR_MINIDUMP_H__ +#include <unistd.h> #include <map> #include <string> diff --git a/src/google_breakpad/processor/stack_frame_cpu.h b/src/google_breakpad/processor/stack_frame_cpu.h index a8840278..70823b9c 100644 --- a/src/google_breakpad/processor/stack_frame_cpu.h +++ b/src/google_breakpad/processor/stack_frame_cpu.h @@ -128,9 +128,9 @@ struct StackFrameSPARC : public StackFrame { // to be confirmed enum ContextValidity { CONTEXT_VALID_NONE = 0, - CONTEXT_VALID_PC = 0 << 0, - CONTEXT_VALID_SP = 0 << 1, - CONTEXT_VALID_FP = 0 << 2, + CONTEXT_VALID_PC = 1 << 0, + CONTEXT_VALID_SP = 1 << 1, + CONTEXT_VALID_FP = 1 << 2, CONTEXT_VALID_ALL = -1 }; |