Skip to content

Commit 8884aad

Browse files
committed
restore inadvertedly removed use libc::c_int in sendfile.rs
1 parent b01c8ed commit 8884aad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sys/sendfile.rs

+2
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ cfg_if! {
126126

127127
cfg_if! {
128128
if #[cfg(target_os = "freebsd")] {
129+
use libc::c_int;
130+
129131
libc_bitflags!{
130132
/// Configuration options for [`sendfile`.](fn.sendfile.html)
131133
pub struct SfFlags: c_int {

0 commit comments

Comments
 (0)