summaryrefslogtreecommitdiff
path: root/zwgc
diff options
context:
space:
mode:
authorGravatar Robert A Basch <rbasch@mit.edu>2002-04-18 14:28:17 +0000
committerGravatar Robert A Basch <rbasch@mit.edu>2002-04-18 14:28:17 +0000
commit62fdb5f5c83610105b53e8967ab55ccd868995f8 (patch)
tree80985504715c90c6e51d341e47c054293cbb3ddc /zwgc
parent69bdf2000a7c578558cfa7075922b3f18518aef0 (diff)
Declare ospeed so that it is sized correctly -- speed_t (4 bytes) on
Linux, and short (2 bytes) elsewhere.
Diffstat (limited to 'zwgc')
-rw-r--r--zwgc/tty_filter.c4
1 files changed, 4 insertions, 0 deletions
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: