Просмотр исходного кода

termios.h: Add IBSHIFT

The IBSHIFT define is used by gdb which fails to compile without it.

Signed-off-by: Adam Lackorzynski <adam@l4re.org>
Signed-off-by: Marcus Haehnel <marcus.haehnel@kernkonzept.com>
Adam Lackorzynski 1 неделя назад
Родитель
Сommit
3061b3da9e
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      libc/sysdeps/linux/common/bits/termios.h

+ 2 - 0
libc/sysdeps/linux/common/bits/termios.h

@@ -176,6 +176,8 @@ struct termios
 # define CRTSCTS  020000000000		/* flow control */
 #endif
 
+#define IBSHIFT         16              /* Shift from CBAUD to CIBAUD */
+
 /* c_lflag bits */
 #define ISIG	0000001
 #define ICANON	0000002