diff options
| author | Richard M. Stallman | 1996-09-10 19:53:02 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-09-10 19:53:02 +0000 |
| commit | cbf8a87391b91554c31ba94222cb461b9dc79572 (patch) | |
| tree | 07bf520d79c91305e0388829f11ea1daebefdabb /src | |
| parent | 6022d4938e7c848892c962389859960519ae0cf8 (diff) | |
| download | emacs-cbf8a87391b91554c31ba94222cb461b9dc79572.tar.gz emacs-cbf8a87391b91554c31ba94222cb461b9dc79572.zip | |
[HAVE_TERMIOS_H]: Include termios.h.
(ospeed) [HAVE_TERMIOS_H]: Use ospeed_t.
Diffstat (limited to 'src')
| -rw-r--r-- | src/cm.h | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -100,7 +100,13 @@ struct cm | |||
| 100 | 100 | ||
| 101 | extern struct cm Wcm; /* Terminal capabilities */ | 101 | extern struct cm Wcm; /* Terminal capabilities */ |
| 102 | extern char PC; /* Pad character */ | 102 | extern char PC; /* Pad character */ |
| 103 | #ifdef HAVE_TERMIOS_H | ||
| 104 | #include <termios.h> | ||
| 105 | /* HJL's version of libc is said to need this on the Alpha. */ | ||
| 106 | speed_t ospeed; | ||
| 107 | #else | ||
| 103 | extern short ospeed; /* Output speed (from sg_ospeed) */ | 108 | extern short ospeed; /* Output speed (from sg_ospeed) */ |
| 109 | #endif | ||
| 104 | 110 | ||
| 105 | /* Shorthand */ | 111 | /* Shorthand */ |
| 106 | #ifndef NoCMShortHand | 112 | #ifndef NoCMShortHand |