From: Richard M. Stallman Date: Mon, 7 Jul 1997 06:42:35 +0000 (+0000) Subject: (ospeed): Declare as short unless HAVE_TERMIOS_H and LINUX. X-Git-Tag: emacs-20.1~1287 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0dc57298fdc0760d8c69dcbcb940145f77022f5d;p=emacs.git (ospeed): Declare as short unless HAVE_TERMIOS_H and LINUX. --- diff --git a/src/cm.h b/src/cm.h index 652b61eb216..5e0caa1fa5e 100644 --- a/src/cm.h +++ b/src/cm.h @@ -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 -/* 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) */