From aad400a45886e6f5770c1e4a8b499ae8b796dab2 Mon Sep 17 00:00:00 2001 From: Avril Date: Mon, 12 Sep 2022 02:53:01 +0100 Subject: [PATCH] Fixed build error on stable due to FFI namespace changes. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fortune for mapped-file's current commit: Future small blessing − 末小吉 --- src/err.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/err.rs b/src/err.rs index 6b5d548..0da7503 100644 --- a/src/err.rs +++ b/src/err.rs @@ -1,6 +1,6 @@ //! Wrapping `errno` error types use super::*; -use std::ffi::c_int; +use std::os::raw::c_int; use std::{ fmt, error };