# HG changeset patch # User Richard M. Stallman # Date 868257755 0 # Node ID b6ced5dad84b30c6b791dd1fffb5d6b0d77d7c6a # Parent 959bf7b006ad3e94d2fc65df296cac23805ace45 (ospeed): Declare as short unless HAVE_TERMIOS_H and LINUX. diff -r 959bf7b006ad -r b6ced5dad84b src/cm.h --- a/src/cm.h Mon Jul 07 05:35:53 1997 +0000 +++ b/src/cm.h Mon Jul 07 06:42:35 1997 +0000 @@ -100,9 +100,11 @@ 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) */