summaryrefslogtreecommitdiff
path: root/package/busybox/patches/000-upstream-getty.patch
blob: 74a2f95c589230071200b777d794d3f380e2a1d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/loginutils/getty.c
+++ b/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