changeset 16117:16c866efd8b5

[HAVE_TERMIOS_H]: Include termios.h. (ospeed) [HAVE_TERMIOS_H]: Use ospeed_t.
author Richard M. Stallman <rms@gnu.org>
date Wed, 04 Sep 1996 15:10:42 +0000
parents 80a67b8f39e9
children 4580dcf4e0d1
files src/sysdep.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/sysdep.c	Wed Sep 04 15:07:07 1996 +0000
+++ b/src/sysdep.c	Wed Sep 04 15:10:42 1996 +0000
@@ -225,7 +225,12 @@
   };
 #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;