[sanitizer] Include signal.h instead of sys/signal.h

llvm-svn: 338004
This commit is contained in:
Fangrui Song 2018-07-26 04:50:33 +00:00
parent a796aa4299
commit cb1107ed14
1 changed files with 1 additions and 5 deletions

View File

@ -53,6 +53,7 @@
#include <link.h>
#include <pthread.h>
#include <sched.h>
#include <signal.h>
#include <sys/mman.h>
#if !SANITIZER_SOLARIS
#include <sys/ptrace.h>
@ -66,7 +67,6 @@
#include <ucontext.h>
#endif
#if SANITIZER_OPENBSD
#include <signal.h>
#include <sys/futex.h>
#endif
#include <unistd.h>
@ -104,10 +104,6 @@ extern struct ps_strings *__ps_strings;
#define environ _environ
#endif
#if !SANITIZER_ANDROID
#include <sys/signal.h>
#endif
extern char **environ;
#if SANITIZER_LINUX