Skip to content

Commit a828620

Browse files
committed
linux: Add missing padding in struct input_event for sparc64
1 parent 6450c78 commit a828620

File tree

1 file changed

+2
-0
lines changed
  • src/unix/linux_like/linux

1 file changed

+2
-0
lines changed

src/unix/linux_like/linux/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,8 @@ s! {
240240
#[cfg(all(target_pointer_width = "32", linux_time_bits64))]
241241
pub input_event_usec: c_ulong,
242242

243+
#[cfg(target_arch = "sparc64")]
244+
_pad1: Padding<c_int>,
243245
pub type_: __u16,
244246
pub code: __u16,
245247
pub value: __s32,

0 commit comments

Comments
 (0)