Skip to content

Commit f9a8861

Browse files
committed
unbreak openbsd code
- upgrades libc to version with si_addr support in openbsd - declares libc use for getentropy
1 parent c6079d0 commit f9a8861

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/liblibc

src/libstd/rand/os.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ mod imp {
182182
#[cfg(target_os = "openbsd")]
183183
mod imp {
184184
use io;
185+
use libc;
185186
use mem;
186-
use libc::c_long;
187187
use sys::os::errno;
188188
use rand::Rng;
189189

0 commit comments

Comments
 (0)