summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-09-04 15:10:42 +0000
committerRichard M. Stallman <rms@gnu.org>1996-09-04 15:10:42 +0000
commit4165c22db22db081235ddad8810cce782b177c15 (patch)
treea7ee07a15e2b4dfb0ad9811efccdf21d0b928107 /src
parent963777a315faced637f5b60b2dbfefb53863e5c5 (diff)
downloademacs-4165c22db22db081235ddad8810cce782b177c15.tar.gz
[HAVE_TERMIOS_H]: Include termios.h.
(ospeed) [HAVE_TERMIOS_H]: Use ospeed_t.
Diffstat (limited to 'src')
-rw-r--r--src/sysdep.c5
1 files changed, 5 insertions, 0 deletions
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 <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;