forked from OSchip/llvm-project
[sanitizer] Include signal.h instead of sys/signal.h
llvm-svn: 338004
This commit is contained in:
parent
a796aa4299
commit
cb1107ed14
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue