diff options
author | Karl Heuer <kwzh@gnu.org> | 1996-07-15 21:58:10 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1996-07-15 21:58:10 +0000 |
commit | e493299546bcc220e94e3d53501607f0e7d7823f (patch) | |
tree | c25603864e0b1d880e88cc614811d52fdd380b39 /src/terminfo.c | |
parent | 9f2655f5f967b70e8d9ded9274387bd07c88f356 (diff) | |
download | emacs-e493299546bcc220e94e3d53501607f0e7d7823f.tar.gz |
Use <config.h>.
[HAVE_TERMIOS_H]: Declare ospeed as speed_t.
[USG]: Include <string.h>.
Diffstat (limited to 'src/terminfo.c')
-rw-r--r-- | src/terminfo.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/terminfo.c b/src/terminfo.c index 8ce87960f03..eef648b2157 100644 --- a/src/terminfo.c +++ b/src/terminfo.c @@ -22,8 +22,19 @@ Boston, MA 02111-1307, USA. */ so that we do not need to conditionalize the places in Emacs that set them. */ +#include <config.h> + +#ifdef USG +# include <string.h> +#endif + char *UP, *BC, PC; -short ospeed; +#ifdef HAVE_TERMIOS_H +# include <termios.h> + speed_t ospeed; +#else + short ospeed; +#endif static buffer[512]; |