From a6f3aece9ed6b00ea7bdc9437b70c7fd7c809009 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 27 Sep 2022 22:16:59 +0100 Subject: [PATCH] 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 --- server/daemon.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.30.2