Home | History | Annotate | Download | only in patch
      1 # this file used to have a bunch of __libc_* extern definitions, android complains only about this one as missing
      2 
      3 diff --git a/base/process/memory_linux.cc b/base/process/memory_linux.cc
      4 index 171753c..11e482b 100644
      5 --- a/base/process/memory_linux.cc
      6 +++ b/base/process/memory_linux.cc
      7 @@ -22,6 +22,10 @@
      8  #include "third_party/tcmalloc/gperftools-2.0/chromium/src/gperftools/tcmalloc.h"
      9  #endif
     10  
     11 +extern "C" {
     12 +void* __libc_malloc(size_t size);
     13 +}
     14 +
     15  namespace base {
     16  
     17  size_t g_oom_size = 0U;
     18