diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-07-07 06:42:35 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-07-07 06:42:35 +0000 |
commit | 997526efae71ad914c5b7855a65d63a66cdff293 (patch) | |
tree | 0f7ade733d3c870203930c6ee4951292b3aa27f7 /src/cm.h | |
parent | 096abf783c00fbd3f10a907481bf10c1e10d9a51 (diff) | |
download | emacs-997526efae71ad914c5b7855a65d63a66cdff293.tar.gz |
(ospeed): Declare as short unless HAVE_TERMIOS_H and LINUX.
Diffstat (limited to 'src/cm.h')
-rw-r--r-- | src/cm.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -100,9 +100,11 @@ struct cm extern struct cm Wcm; /* Terminal capabilities */ extern char PC; /* Pad character */ -#ifdef HAVE_TERMIOS_H + +#if defined (HAVE_TERMIOS_H) || defined (LINUX) #include <termios.h> -/* HJL's version of libc is said to need this on the Alpha. */ +/* HJL's version of libc is said to need this on the Alpha. + On the other hand, DEC OSF1 on the Alpha needs ospeed to be a short. */ extern speed_t ospeed; #else extern short ospeed; /* Output speed (from sg_ospeed) */ |