From f94eaef2a5902bd8a3881aec740d80bea471d926 Mon Sep 17 00:00:00 2001 From: andrew Date: Sun, 17 Apr 1994 02:45:13 +0000 Subject: [PATCH] Pull in TIOCGWINSZ from . --- usr.bin/more/screen.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/usr.bin/more/screen.c b/usr.bin/more/screen.c index e1ee4abd64bd..c8bcd4f88a2c 100644 --- a/usr.bin/more/screen.c +++ b/usr.bin/more/screen.c @@ -34,7 +34,7 @@ #ifndef lint /* from: static char sccsid[] = "@(#)screen.c 5.8 (Berkeley) 6/28/92"; */ -static char *rcsid = "$Id: screen.c,v 1.3 1994/04/16 08:14:52 andrew Exp $"; +static char *rcsid = "$Id: screen.c,v 1.4 1994/04/17 02:45:13 andrew Exp $"; #endif /* not lint */ /* @@ -57,9 +57,10 @@ static char *rcsid = "$Id: screen.c,v 1.3 1994/04/16 08:14:52 andrew Exp $"; #endif #endif -#ifdef TIOCGWINSZ +/* pull in TIOCGWINSZ on BSD systems */ #include -#else + +#ifndef TIOCGWINSZ /* * For the Unix PC (ATT 7300 & 3B1): * Since WIOCGETD is defined in sys/window.h, we can't use that to decide