Index: third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h |
diff --git a/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h b/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h |
index 9bdcf5ab52a26fa11f5b7d3b918f5954a6f9abf8..ee36efb46130dc209a46271b44c4c051f68068bb 100644 |
--- a/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h |
+++ b/third_party/tcmalloc/chromium/src/malloc_hook_mmap_linux.h |
@@ -42,7 +42,9 @@ |
#include <unistd.h> |
#if defined(__ANDROID__) |
#include <sys/syscall.h> |
+#ifndef ANDROID_NON_SDK_BUILD |
#include <sys/linux-syscalls.h> |
+#endif |
#else |
#include <syscall.h> |
#endif |