summaryrefslogtreecommitdiffhomepage
path: root/loginutils/getty.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-10-30 21:27:33 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2011-10-30 21:27:33 +0100
commite504c245f7958369d53fd509c444772fb5737c82 (patch)
treef3df9b902cdab9527f4d34940fea044ed42d4bed /loginutils/getty.c
parent83e34ac4b574fabd54a2d1a03063b263338ef03d (diff)
getty: Hurd has no CBAUD, work around that
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'loginutils/getty.c')
-rw-r--r--loginutils/getty.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/loginutils/getty.c b/loginutils/getty.c
index 4d5219725..1f417591b 100644
--- a/loginutils/getty.c
+++ b/loginutils/getty.c
@@ -266,7 +266,9 @@ static void init_tty_attrs(int speed)
#ifdef CMSPAR
| CMSPAR /* mark or space parity */
#endif
+#ifdef CBAUD
| CBAUD /* (output) baud rate */
+#endif
#ifdef CBAUDEX
| CBAUDEX /* (output) baud rate */
#endif