summaryrefslogtreecommitdiff
path: root/package/busybox/busybox-1.19.3/busybox-1.19.3-getty.patch
blob: 84dad6f1bc5147591a12b1a087083fd5dc47e975 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- busybox-1.19.3/loginutils/getty.c
+++ busybox-1.19.3-getty/loginutils/getty.c
@@ -271,7 +271,9 @@ static void termios_init(int speed)
 #ifdef CMSPAR
 		| CMSPAR  /* mark or space parity */
 #endif
+#ifdef CBAUD
 		| CBAUD   /* (output) baud rate */
+#endif
 #ifdef CBAUDEX
 		| CBAUDEX /* (output) baud rate */
 #endif