From 86c701949ad9c2ac8838e66972650f878935be8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Sat, 22 Nov 2025 00:40:28 +0100 Subject: [PATCH] termios: Add definition for IUCLC Needs: https://github.com/rust-lang/libc/pull/4846 Related: https://github.com/uutils/coreutils/pull/9432 --- src/sys/termios.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/sys/termios.rs b/src/sys/termios.rs index bff981fad5..f1a817a53e 100644 --- a/src/sys/termios.rs +++ b/src/sys/termios.rs @@ -478,6 +478,15 @@ libc_bitflags! { ICRNL; IXON; IXOFF; + #[cfg(any(linux_android, + target_os = "aix", + target_os = "cygwin", + target_os = "haiku", + target_os = "hurd", + target_os = "nto", + target_os = "redox", + solarish))] + IUCLC; #[cfg(not(target_os = "redox"))] IXANY; #[cfg(not(any(target_os = "redox", target_os = "haiku")))]