diff options
author | Kohki Miki <giginet.net@gmail.com> | 2019-10-23 00:42:07 +0900 |
---|---|---|
committer | Christian Duerr <contact@christianduerr.com> | 2019-10-22 17:42:07 +0200 |
commit | 9e0b9d5de1b8fe2d9d8ed80f73b4ad0fda171f22 (patch) | |
tree | a5f9b9c8df63a4791622bc121e6fad71b5d783b4 | |
parent | 8a263414572d8ed4d771461de2fdbd9f7e549a75 (diff) | |
download | alacritty-9e0b9d5de1b8fe2d9d8ed80f73b4ad0fda171f22.tar.gz alacritty-9e0b9d5de1b8fe2d9d8ed80f73b4ad0fda171f22.zip |
Fix unused import warning on macOS/Windows
-rw-r--r-- | alacritty/src/window.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/alacritty/src/window.rs b/alacritty/src/window.rs index 1d4ef612..7fa11c16 100644 --- a/alacritty/src/window.rs +++ b/alacritty/src/window.rs @@ -15,6 +15,7 @@ use std::convert::From; #[cfg(not(any(target_os = "macos", windows)))] use std::ffi::c_void; use std::fmt; +#[cfg(not(any(target_os = "macos", windows)))] use std::os::raw::c_ulong; use glutin::dpi::{LogicalPosition, LogicalSize, PhysicalPosition, PhysicalSize}; |