14 lines
471 B
Diff
14 lines
471 B
Diff
|
diff --git a/third_party/rust/getrandom/src/util_libc.rs.orig b/third_party/rust/getrandom/src/util_libc.rs
|
||
|
index 3cecb1d..6316b38 100644
|
||
|
--- a/third_party/rust/getrandom/src/util_libc.rs.orig
|
||
|
+++ b/third_party/rust/getrandom/src/util_libc.rs
|
||
|
@@ -101,7 +101,7 @@ impl Weak {
|
||
|
|
||
|
cfg_if! {
|
||
|
if #[cfg(any(target_os = "linux", target_os = "emscripten"))] {
|
||
|
- use libc::open64 as open;
|
||
|
+ use libc::open as open;
|
||
|
} else {
|
||
|
use libc::open;
|
||
|
}
|