From: Fangrui Song Date: Thu, 26 Jul 2018 04:50:33 +0000 (+0000) Subject: [sanitizer] Include signal.h instead of sys/signal.h X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cb1107ed148dc41fc8c87c61773ada93f6238c3a;p=platform%2Fupstream%2Fllvm.git [sanitizer] Include signal.h instead of sys/signal.h llvm-svn: 338004 --- diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc b/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc index 63866af..96d6c1e 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc +++ b/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc @@ -53,6 +53,7 @@ #include #include #include +#include #include #if !SANITIZER_SOLARIS #include @@ -66,7 +67,6 @@ #include #endif #if SANITIZER_OPENBSD -#include #include #endif #include @@ -104,10 +104,6 @@ extern struct ps_strings *__ps_strings; #define environ _environ #endif -#if !SANITIZER_ANDROID -#include -#endif - extern char **environ; #if SANITIZER_LINUX