Explorar o código

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 hai 1 semana
pai
achega
3061b3da9e
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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