Jelajahi Sumber

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 Minggu lalu
induk
melakukan
3061b3da9e
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  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