From 568b8f9395bf13451a722d771a91354b6b4bd310 Mon Sep 17 00:00:00 2001 From: Trung Nguyen Date: Tue, 9 May 2023 11:08:06 +1000 Subject: [PATCH] headers/posix: Add TIOCM_RNG as a synonym for TIOCM_RI dotnet uses it. Change-Id: Ie5658263a0fd9c0aa833cc468ddcafe08116a30d Reviewed-on: https://review.haiku-os.org/c/haiku/+/6385 Tested-by: Commit checker robot Reviewed-by: Jessica Hamilton --- headers/posix/termios.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/headers/posix/termios.h b/headers/posix/termios.h index 0be1e3cc1b..90f1b0524d 100644 --- a/headers/posix/termios.h +++ b/headers/posix/termios.h @@ -212,8 +212,9 @@ struct winsize { /* Bits for the TIOCMGET / TIOCMSET control */ #define TIOCM_CTS TCGB_CTS /* clear to send */ #define TIOCM_CD TCGB_DCD /* carrier detect */ -#define TIOCM_CAR TIOCM_CD +#define TIOCM_CAR TCGB_DCD #define TIOCM_RI TCGB_RI /* ring indicator */ +#define TIOCM_RNG TCGB_RI #define TIOCM_DSR TCGB_DSR /* dataset ready */ #define TIOCM_DTR 0x10 /* data terminal ready */ #define TIOCM_RTS 0x20 /* request to send */