]> git.eshelyaron.com Git - emacs.git/commitdiff
[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 21271e7e28f644b89909d30c5a26c6153032a813..3d8349acfb0ed87054c60316dc84a99235521fc1 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;