# HG changeset patch # User Richard M. Stallman # Date 778644595 0 # Node ID 10ec51f5e4b0fb525e47ec37d417381dab8c2891 # Parent 0f702e9ab06d87ae872cd4bd89ec5032eba900b0 (init_baud_rate): Test that getobaud is actually defined. diff -r 0f702e9ab06d -r 10ec51f5e4b0 src/sysdep.c --- a/src/sysdep.c Sat Sep 03 23:33:50 1994 +0000 +++ b/src/sysdep.c Sun Sep 04 02:09:55 1994 +0000 @@ -279,7 +279,7 @@ 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);