From f2361c606cc840ebc1d5744991ef41f231b5e162 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 4 Sep 1996 15:10:42 +0000 Subject: [PATCH] [HAVE_TERMIOS_H]: Include termios.h. (ospeed) [HAVE_TERMIOS_H]: Use ospeed_t. --- src/sysdep.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/sysdep.c b/src/sysdep.c index 21271e7e28f..3d8349acfb0 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -225,7 +225,12 @@ static int baud_convert[] = }; #endif +#ifdef HAVE_TERMIOS_H +#include +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; -- 2.39.2