aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2011-05-31 12:12:30 +0000
committerted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2011-05-31 12:12:30 +0000
commitdcebaf42ba428eae1c1ac23f4cce6ceaf362eebf (patch)
tree4010b7067e3529d9a70d74232d5cf3b345054e0c /src
parentFix null derefs in x86 dissasembler code. (diff)
downloadbreakpad-dcebaf42ba428eae1c1ac23f4cce6ceaf362eebf.tar.xz
Add some headers necessary to build the Linux client code with the Android NDK r5
P=Alon Zakai <azakai@mozilla.com>, R=ted git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@790 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src')
-rw-r--r--src/client/linux/handler/exception_handler.cc2
-rw-r--r--src/client/linux/minidump_writer/minidump_writer.cc1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/client/linux/handler/exception_handler.cc b/src/client/linux/handler/exception_handler.cc
index 096ec0d6..c2336ccf 100644
--- a/src/client/linux/handler/exception_handler.cc
+++ b/src/client/linux/handler/exception_handler.cc
@@ -99,6 +99,8 @@
#include "common/linux/eintr_wrapper.h"
#include "third_party/lss/linux_syscall_support.h"
+#include "linux/sched.h"
+
#ifndef PR_SET_PTRACER
#define PR_SET_PTRACER 0x59616d61
#endif
diff --git a/src/client/linux/minidump_writer/minidump_writer.cc b/src/client/linux/minidump_writer/minidump_writer.cc
index b738beea..ee9adac0 100644
--- a/src/client/linux/minidump_writer/minidump_writer.cc
+++ b/src/client/linux/minidump_writer/minidump_writer.cc
@@ -53,6 +53,7 @@
#endif
#include <stdio.h>
#include <unistd.h>
+#include <ctype.h>
#if !defined(__ANDROID__)
#include <sys/ucontext.h>
#include <sys/user.h>