--- sys/share/unixtty.c.orig	Mon Mar 23 15:53:04 2015
+++ sys/share/unixtty.c	Mon Mar 23 15:54:13 2015
@@ -130,9 +130,9 @@ struct tchars inittyb2, curttyb2;
 # ifndef LINT
 extern			/* it is defined in libtermlib (libtermcap) */
 # endif
-	short ospeed;	/* terminal baudrate; set by gettty */
+	int ospeed;	/* terminal baudrate; set by gettty */
 #else
-short	ospeed = 0;	/* gets around "not defined" error message */
+int	ospeed = 0;	/* gets around "not defined" error message */
 #endif
 
 #if defined(POSIX_TYPES) && defined(BSD)
