[sanitizer] Fixed includes in sanitizer_linux.cc for Android.

llvm-svn: 181327
This commit is contained in:
Sergey Matveev 2013-05-07 15:38:53 +00:00
parent d6538338fd
commit 88d0c664ef
1 changed files with 4 additions and 0 deletions

View File

@ -24,7 +24,9 @@
#include "sanitizer_procmaps.h"
#include "sanitizer_stacktrace.h"
#ifdef __x86_64__
#include <asm/prctl.h>
#endif
#include <dlfcn.h>
#include <errno.h>
#include <fcntl.h>
@ -64,7 +66,9 @@ const int FUTEX_WAKE = 1;
# define SANITIZER_LINUX_USES_64BIT_SYSCALLS 0
#endif
#ifdef __x86_64__
extern "C" int arch_prctl(int code, __sanitizer::uptr *addr);
#endif
namespace __sanitizer {