Index: third_party/tcmalloc/chromium/src/base/linux_syscall_support.h |
diff --git a/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h b/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h |
index bdbc4b7e3bbfc023f9ea83c34cf59974ac09a068..ac1e797e1cff371a9495775d0d45372a3af3a8ef 100644 |
--- a/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h |
+++ b/third_party/tcmalloc/chromium/src/base/linux_syscall_support.h |
@@ -157,7 +157,9 @@ extern "C" { |
#include <sys/types.h> |
#if defined(__ANDROID__) |
#include <sys/syscall.h> |
+#ifndef ANDROID_NON_SDK_BUILD |
#include <sys/linux-syscalls.h> |
+#endif |
#else |
#include <syscall.h> |
#endif |