[asan] fix mac build once more

llvm-svn: 147796
This commit is contained in:
Kostya Serebryany 2012-01-09 19:50:06 +00:00
parent 8ca9025216
commit 3ab81d1f26
2 changed files with 3 additions and 2 deletions

View File

@ -224,6 +224,9 @@ void *WRAP(signal)(int signum, void *handler) {
return NULL;
}
extern "C"
extern int (sigaction)(int signum, const void *act, void *oldact);
extern "C"
int WRAP(sigaction)(int signum, const void *act, void *oldact) {
if (!AsanInterceptsSignal(signum)) {

View File

@ -18,8 +18,6 @@
#include "asan_thread.h"
#include "asan_thread_registry.h"
#include <string.h>
#if ASAN_USE_SYSINFO == 1
#include "sysinfo/sysinfo.h"
#endif