(init_baud_rate): Test that getobaud is actually defined.
This commit is contained in:
parent
e55e22671d
commit
5baff9cebf
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ init_baud_rate ()
|
|||
sg.c_cflag = B9600;
|
||||
tcgetattr (input_fd, &sg);
|
||||
ospeed = cfgetospeed (&sg);
|
||||
#ifdef USE_GETOBAUD
|
||||
#if defined (USE_GETOBAUD) && defined (getobaud)
|
||||
/* m88k-motorola-sysv3 needs this (ghazi@noc.rutgers.edu) 9/1/94. */
|
||||
if (ospeed == 0)
|
||||
ospeed = getobaud (sg.c_cflag);
|
||||
|
|
Loading…
Add table
Reference in a new issue