Mercurial > emacs
changeset 15692:ebef42357c5d
Use <config.h>.
[HAVE_TERMIOS_H]: Declare ospeed as speed_t.
[USG]: Include <string.h>.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Mon, 15 Jul 1996 21:58:10 +0000 |
parents | f912ad203841 |
children | 8978d34759dc |
files | src/terminfo.c |
diffstat | 1 files changed, 12 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/terminfo.c Mon Jul 15 21:53:24 1996 +0000 +++ b/src/terminfo.c Mon Jul 15 21:58:10 1996 +0000 @@ -22,8 +22,19 @@ 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];