Skip to content

Commit dbeda43

Browse files
committed
Fix libc is not viable with netbsd
1 parent e39ccbb commit dbeda43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fcntl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ mod consts {
361361

362362
#[cfg(target_os = "netbsd")]
363363
mod consts {
364-
use libc::c_int;
364+
use libc::{self,c_int};
365365

366366
libc_bitflags!(
367367
pub flags OFlag: c_int {

0 commit comments

Comments
 (0)