diff options
| author | Richard M. Stallman | 1996-09-04 15:10:42 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-09-04 15:10:42 +0000 |
| commit | f2361c606cc840ebc1d5744991ef41f231b5e162 (patch) | |
| tree | 8da0eeaf0f498b5218fbe21e377a6f522c15543e /src | |
| parent | 3c0ee47b71f71896291fa8e8e4795db233a8a1b2 (diff) | |
| download | emacs-f2361c606cc840ebc1d5744991ef41f231b5e162.tar.gz emacs-f2361c606cc840ebc1d5744991ef41f231b5e162.zip | |
[HAVE_TERMIOS_H]: Include termios.h.
(ospeed) [HAVE_TERMIOS_H]: Use ospeed_t.
Diffstat (limited to 'src')
| -rw-r--r-- | src/sysdep.c | 5 |
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[] = | |||
| 225 | }; | 225 | }; |
| 226 | #endif | 226 | #endif |
| 227 | 227 | ||
| 228 | #ifdef HAVE_TERMIOS_H | ||
| 229 | #include <termios.h> | ||
| 230 | extern speed_t ospeed; | ||
| 231 | #else | ||
| 228 | extern short ospeed; | 232 | extern short ospeed; |
| 233 | #endif | ||
| 229 | 234 | ||
| 230 | /* The file descriptor for Emacs's input terminal. | 235 | /* The file descriptor for Emacs's input terminal. |
| 231 | Under Unix, this is normally zero except when using X; | 236 | Under Unix, this is normally zero except when using X; |