blob: cfd019fa22b441019a38517aee36786eeb79b311 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
https://bugzilla.mozilla.org/show_bug.cgi?id=1089931
--- a/toolkit/crashreporter/google-breakpad/src/common/android/include/ucontext.h
+++ a/toolkit/crashreporter/google-breakpad/src/common/android/include/ucontext.h
@@ -26,31 +26,30 @@
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#ifndef GOOGLE_BREAKPAD_COMMON_ANDROID_INCLUDE_UCONTEXT_H
#define GOOGLE_BREAKPAD_COMMON_ANDROID_INCLUDE_UCONTEXT_H
#include <sys/cdefs.h>
+#include <signal.h>
-#ifdef __BIONIC_UCONTEXT_H
-#include <ucontext.h>
+#ifdef __BIONIC_HAVE_UCONTEXT_H
+# include_next <ucontext.h>
#else
-
-#include <sys/ucontext.h>
+# include <sys/ucontext.h>
+#endif // __BIONIC_UCONTEXT_H
#ifdef __cplusplus
extern "C" {
#endif // __cplusplus
// Provided by src/android/common/breakpad_getcontext.S
int breakpad_getcontext(ucontext_t* ucp);
#define getcontext(x) breakpad_getcontext(x)
#ifdef __cplusplus
} // extern "C"
#endif // __cplusplus
-#endif // __BIONIC_UCONTEXT_H
-
#endif // GOOGLE_BREAKPAD_COMMON_ANDROID_INCLUDE_UCONTEXT_H
|