From 62fdb5f5c83610105b53e8967ab55ccd868995f8 Mon Sep 17 00:00:00 2001 From: Robert A Basch Date: Thu, 18 Apr 2002 14:28:17 +0000 Subject: Declare ospeed so that it is sized correctly -- speed_t (4 bytes) on Linux, and short (2 bytes) elsewhere. --- zwgc/tty_filter.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'zwgc') diff --git a/zwgc/tty_filter.c b/zwgc/tty_filter.c index d734e9d..72a6747 100644 --- a/zwgc/tty_filter.c +++ b/zwgc/tty_filter.c @@ -36,7 +36,11 @@ static const char rcsid_tty_filter_c[] = "$Id$"; extern int tgetent(); extern char *tgetstr(),*getenv(); +#ifdef linux extern speed_t ospeed; +#else +extern short ospeed; +#endif char PC; /* Dictionary naming convention: -- cgit v1.2.3