From: Ian Jackson Date: Tue, 27 Sep 2022 21:16:59 +0000 (+0100) Subject: use c_int from std::os::raw X-Git-Tag: hippotat/1.0.0~17 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=a6f3aece9ed6b00ea7bdc9437b70c7fd7c809009;p=hippotat.git use c_int from std::os::raw The entry in std:ffi is MSRV 1.64 which is rather new! Signed-off-by: Ian Jackson --- diff --git a/server/daemon.rs b/server/daemon.rs index c2b39a4..c5f6155 100644 --- a/server/daemon.rs +++ b/server/daemon.rs @@ -3,8 +3,9 @@ // There is NO WARRANTY. use std::convert::TryInto; -use std::ffi::{c_int, CStr}; +use std::ffi::CStr; use std::io::IoSlice; +use std::os::raw::c_int; use std::os::unix::io::RawFd; use std::slice; use std::str;