diff --git a/libc/bionic/ndk_cruft.cpp b/libc/bionic/ndk_cruft.cpp index 0c7201986..45ead624e 100644 --- a/libc/bionic/ndk_cruft.cpp +++ b/libc/bionic/ndk_cruft.cpp @@ -303,4 +303,9 @@ extern "C" char* index(const char* str, int ch) { return strchr(str, ch); } +// This was removed from BSD. +extern "C" void arc4random_stir(void) { + // The current implementation stirs itself as needed. +} + #endif