chiark / gitweb /
use c_int from std::os::raw
[hippotat.git] / server / daemon.rs
index c2b39a4ebd17158c671b9387c58a59a4edc33899..c5f6155fb36c482a0c465ab25631e50a528b7309 100644 (file)
@@ -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;