diff options
| author | Richard M. Stallman | 1996-09-04 15:12:18 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-09-04 15:12:18 +0000 |
| commit | d676eef30d853ce8dd9d4ac52e79e7c6bba8e79a (patch) | |
| tree | a7f7b66fd02bbb6d2d04600e576032097fe8d383 /src | |
| parent | f2361c606cc840ebc1d5744991ef41f231b5e162 (diff) | |
| download | emacs-d676eef30d853ce8dd9d4ac52e79e7c6bba8e79a.tar.gz emacs-d676eef30d853ce8dd9d4ac52e79e7c6bba8e79a.zip | |
Include config.h.
[HAVE_TERMIOS_H]: Include termios.h.
(ospeed) [HAVE_TERMIOS_H]: Use ospeed_t.
Diffstat (limited to 'src')
| -rw-r--r-- | src/terminfo.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/terminfo.c b/src/terminfo.c index 8ce87960f03..ab6ab9e4ccb 100644 --- a/src/terminfo.c +++ b/src/terminfo.c | |||
| @@ -18,12 +18,20 @@ along with GNU Emacs; see the file COPYING. If not, write to | |||
| 18 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 18 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
| 19 | Boston, MA 02111-1307, USA. */ | 19 | Boston, MA 02111-1307, USA. */ |
| 20 | 20 | ||
| 21 | #include <config.h> | ||
| 22 | |||
| 21 | /* Define these variables that serve as global parameters to termcap, | 23 | /* Define these variables that serve as global parameters to termcap, |
| 22 | so that we do not need to conditionalize the places in Emacs | 24 | so that we do not need to conditionalize the places in Emacs |
| 23 | that set them. */ | 25 | that set them. */ |
| 24 | 26 | ||
| 25 | char *UP, *BC, PC; | 27 | char *UP, *BC, PC; |
| 28 | |||
| 29 | #ifdef HAVE_TERMIOS_H | ||
| 30 | #include <termios.h> | ||
| 31 | speed_t ospeed; | ||
| 32 | #else | ||
| 26 | short ospeed; | 33 | short ospeed; |
| 34 | #endif | ||
| 27 | 35 | ||
| 28 | static buffer[512]; | 36 | static buffer[512]; |
| 29 | 37 | ||