[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 <link.h>
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
#include <sched.h>
|
#include <sched.h>
|
||||||
|
#include <signal.h>
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
#if !SANITIZER_SOLARIS
|
#if !SANITIZER_SOLARIS
|
||||||
#include <sys/ptrace.h>
|
#include <sys/ptrace.h>
|
||||||
|
|
@ -66,7 +67,6 @@
|
||||||
#include <ucontext.h>
|
#include <ucontext.h>
|
||||||
#endif
|
#endif
|
||||||
#if SANITIZER_OPENBSD
|
#if SANITIZER_OPENBSD
|
||||||
#include <signal.h>
|
|
||||||
#include <sys/futex.h>
|
#include <sys/futex.h>
|
||||||
#endif
|
#endif
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
@ -104,10 +104,6 @@ extern struct ps_strings *__ps_strings;
|
||||||
#define environ _environ
|
#define environ _environ
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !SANITIZER_ANDROID
|
|
||||||
#include <sys/signal.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
extern char **environ;
|
extern char **environ;
|
||||||
|
|
||||||
#if SANITIZER_LINUX
|
#if SANITIZER_LINUX
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue