diff options
| author | Richard M. Stallman | 1997-07-07 06:48:01 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-07-07 06:48:01 +0000 |
| commit | 825e7e55bec78430867e824a4101009ca8129869 (patch) | |
| tree | 7762116994636be31ea83df871ab616a95854680 /src/terminfo.c | |
| parent | 0dc57298fdc0760d8c69dcbcb940145f77022f5d (diff) | |
| download | emacs-825e7e55bec78430867e824a4101009ca8129869.tar.gz emacs-825e7e55bec78430867e824a4101009ca8129869.zip | |
(ospeed): Define as short, unless HAVE_TERMIOS_H and LINUX.
Diffstat (limited to 'src/terminfo.c')
| -rw-r--r-- | src/terminfo.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/terminfo.c b/src/terminfo.c index ab6ab9e4ccb..ae015b9b6ad 100644 --- a/src/terminfo.c +++ b/src/terminfo.c | |||
| @@ -26,8 +26,10 @@ Boston, MA 02111-1307, USA. */ | |||
| 26 | 26 | ||
| 27 | char *UP, *BC, PC; | 27 | char *UP, *BC, PC; |
| 28 | 28 | ||
| 29 | #ifdef HAVE_TERMIOS_H | 29 | #if defined (HAVE_TERMIOS_H) || defined (LINUX) |
| 30 | #include <termios.h> | 30 | #include <termios.h> |
| 31 | /* HJL's version of libc is said to need this on the Alpha. | ||
| 32 | On the other hand, DEC OSF1 on the Alpha needs ospeed to be a short. */ | ||
| 31 | speed_t ospeed; | 33 | speed_t ospeed; |
| 32 | #else | 34 | #else |
| 33 | short ospeed; | 35 | short ospeed; |