diff --git a/libc/bionic/ndk_cruft.cpp b/libc/bionic/ndk_cruft.cpp index 7879b7f32..829e8f3b6 100644 --- a/libc/bionic/ndk_cruft.cpp +++ b/libc/bionic/ndk_cruft.cpp @@ -308,6 +308,11 @@ extern "C" void arc4random_stir(void) { // The current implementation stirs itself as needed. } +// This was removed from BSD. +extern "C" void arc4random_addrandom(unsigned char*, int) { + // The current implementation adds randomness as needed. +} + // Old versions of the NDK did not export malloc_usable_size, but did // export dlmalloc_usable_size. We are moving away from dlmalloc in L // so make this call malloc_usable_size.