diff --git a/src/term.rs b/src/term.rs index 052b9ea8..f4ac97a5 100644 --- a/src/term.rs +++ b/src/term.rs @@ -20,6 +20,7 @@ use libc::{STDOUT_FILENO, c_int, c_ulong, c_ushort}; /// The number of rows and columns of a terminal. #[cfg(all(feature = "wrap_help", not(target_os = "windows")))] +#[repr(C)] struct Winsize { ws_row: c_ushort, ws_col: c_ushort,