aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1996-07-15 21:58:10 +0000
committerKarl Heuer1996-07-15 21:58:10 +0000
commite493299546bcc220e94e3d53501607f0e7d7823f (patch)
treec25603864e0b1d880e88cc614811d52fdd380b39 /src
parent9f2655f5f967b70e8d9ded9274387bd07c88f356 (diff)
downloademacs-e493299546bcc220e94e3d53501607f0e7d7823f.tar.gz
emacs-e493299546bcc220e94e3d53501607f0e7d7823f.zip
Use <config.h>.
[HAVE_TERMIOS_H]: Declare ospeed as speed_t. [USG]: Include <string.h>.
Diffstat (limited to 'src')
-rw-r--r--src/terminfo.c13
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. */
22 so that we do not need to conditionalize the places in Emacs 22 so that we do not need to conditionalize the places in Emacs
23 that set them. */ 23 that set them. */
24 24
25#include <config.h>
26
27#ifdef USG
28# include <string.h>
29#endif
30
25char *UP, *BC, PC; 31char *UP, *BC, PC;
26short ospeed; 32#ifdef HAVE_TERMIOS_H
33# include <termios.h>
34 speed_t ospeed;
35#else
36 short ospeed;
37#endif
27 38
28static buffer[512]; 39static buffer[512];
29 40