summarylogtreecommitdiffstats
path: root/0001-gcc-4.9-SIGSEGV.patch
diff options
context:
space:
mode:
Diffstat (limited to '0001-gcc-4.9-SIGSEGV.patch')
-rw-r--r--0001-gcc-4.9-SIGSEGV.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/0001-gcc-4.9-SIGSEGV.patch b/0001-gcc-4.9-SIGSEGV.patch
new file mode 100644
index 000000000000..78baa6bef4f7
--- /dev/null
+++ b/0001-gcc-4.9-SIGSEGV.patch
@@ -0,0 +1,14 @@
+--- libsanitizer/asan/asan_linux.cc.orig 2013-12-05 04:18:38.000000000 -0500
++++ libsanitizer/asan/asan_linux.cc 2017-09-12 18:59:45.310819390 -0400
+@@ -27,10 +27,11 @@
+ #include <fcntl.h>
+ #include <pthread.h>
+ #include <stdio.h>
+ #include <unistd.h>
+ #include <unwind.h>
++#include <signal.h>
+
+ #if !SANITIZER_ANDROID
+ // FIXME: where to get ucontext on Android?
+ #include <sys/ucontext.h>
+ #endif