[HAVE_TERMIOS_H]: Include termios.h.
authorRichard M. Stallman <rms@gnu.org>
Wed, 4 Sep 1996 15:10:42 +0000 (15:10 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 4 Sep 1996 15:10:42 +0000 (15:10 +0000)
(ospeed) [HAVE_TERMIOS_H]: Use ospeed_t.

src/sysdep.c

index 21271e7..3d8349a 100644 (file)
@@ -225,7 +225,12 @@ static int baud_convert[] =
   };
 #endif
 
+#ifdef HAVE_TERMIOS_H
+#include <termios.h>
+extern speed_t ospeed;
+#else
 extern short ospeed;
+#endif
 
 /* The file descriptor for Emacs's input terminal.
    Under Unix, this is normally zero except when using X;