fix comgt compile error caused by the uclibc upgrade
[openwrt-10.03/.git] / toolchain / uClibc / patches / 100-termios.patch
1 Index: uClibc-0.9.29/libc/sysdeps/linux/common/bits/termios.h
2 ===================================================================
3 --- uClibc-0.9.29.orig/libc/sysdeps/linux/common/bits/termios.h 2007-12-29 01:46:19.616052472 +0100
4 +++ uClibc-0.9.29/libc/sysdeps/linux/common/bits/termios.h      2007-12-29 01:46:30.512673426 +0100
5 @@ -156,7 +156,6 @@
6  #endif
7  #define  B57600   0010001
8  #define  B115200  0010002
9 -#if 0 /* limited on uClibc, keep in sync w/ cfsetspeed.c */
10  #define  B230400  0010003
11  #define  B460800  0010004
12  #define  B500000  0010005
13 @@ -171,9 +170,6 @@
14  #define  B3500000 0010016
15  #define  B4000000 0010017
16  #define __MAX_BAUD B4000000
17 -#else
18 -#define __MAX_BAUD B115200
19 -#endif
20  #ifdef __USE_MISC
21  # define CIBAUD          002003600000          /* input baud rate (not used) */
22  # define CMSPAR   010000000000         /* mark or space (stick) parity */