From 805344cd73556b3b31d84d6b4450ebbb06343588 Mon Sep 17 00:00:00 2001 From: lights0123 Date: Tue, 29 Sep 2020 13:47:29 -0400 Subject: [PATCH] Export libc --- src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 971388d..49b23c0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -3,7 +3,9 @@ pub mod constants; use self::constants::*; -use libc::{c_char, c_int, c_short, c_uchar, c_uint, c_void, ssize_t, timeval}; +pub use libc::{c_char, c_int, c_long, c_short, c_uchar, c_uint, c_void, ssize_t, timeval, time_t}; +#[cfg(not(windows))] +pub use libc::suseconds_t; #[repr(C)] pub struct libusb_context {