summarylogtreecommitdiffstats
path: root/0000-gcc-4.9.ucontext.patch
diff options
context:
space:
mode:
Diffstat (limited to '0000-gcc-4.9.ucontext.patch')
-rw-r--r--0000-gcc-4.9.ucontext.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/0000-gcc-4.9.ucontext.patch b/0000-gcc-4.9.ucontext.patch
new file mode 100644
index 000000000000..db82c22e3bc4
--- /dev/null
+++ b/0000-gcc-4.9.ucontext.patch
@@ -0,0 +1,17 @@
+--- libsanitizer/sanitizer_common/sanitizer_linux.h.orig 2013-12-05 04:18:38.000000000 -0500
++++ libsanitizer/sanitizer_common/sanitizer_linux.h 2017-09-12 18:30:52.178616638 -0400
+@@ -14,13 +14,13 @@
+ #include "sanitizer_platform.h"
+ #if SANITIZER_LINUX
+ #include "sanitizer_common.h"
+ #include "sanitizer_internal_defs.h"
+ #include "sanitizer_platform_limits_posix.h"
++#include <sys/ucontext.h>
+
+ struct link_map; // Opaque type returned by dlopen().
+-struct sigaltstack;
+
+ namespace __sanitizer {
+ // Dirent structure for getdents(). Note that this structure is different from
+ // the one in <dirent.h>, which is used by readdir().
+ struct linux_dirent;