Fix asan build failure with glibc-2.26, not finding the SIGSEGV define.  Solved
by explicitly including the signal.h header.  Ok for the gcc-5 branch?

Matthias

PS: libsanitizer still needs the backport for PR 81066


        * asan/asan_linux.cc: Include <signal.h>

--- a/src/libsanitizer/asan/asan_linux.cc
+++ b/src/libsanitizer/asan/asan_linux.cc
@@ -29,6 +29,7 @@
 #include <dlfcn.h>
 #include <fcntl.h>
 #include <pthread.h>
+#include <signal.h>
 #include <stdio.h>
 #include <unistd.h>
 #include <unwind.h>

Reply via email to