From 0b2ed1613591bad63bf1cb726b17e59e4ec87105 Mon Sep 17 00:00:00 2001 From: Nikolay Arhipov Date: Fri, 28 Apr 2023 13:19:47 +0300 Subject: [PATCH] Added getentropy to vita target --- src/unix/newlib/vita/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/unix/newlib/vita/mod.rs b/src/unix/newlib/vita/mod.rs index 5c1d35dae1453..801a408b999c8 100644 --- a/src/unix/newlib/vita/mod.rs +++ b/src/unix/newlib/vita/mod.rs @@ -168,6 +168,8 @@ extern "C" { ) -> ::c_int; pub fn pthread_getprocessorid_np() -> ::c_int; + + pub fn getentropy(buf: *mut ::c_void, buflen: ::size_t) -> ::c_int; } pub use crate::unix::newlib::generic::{sigset_t, stat};