diff --git a/games/worms/worms.c b/games/worms/worms.c index cc39b28ea550..dbf9511a15b3 100644 --- a/games/worms/worms.c +++ b/games/worms/worms.c @@ -1,4 +1,4 @@ -/* $NetBSD: worms.c,v 1.7 1995/04/22 08:08:05 cgd Exp $ */ +/* $NetBSD: worms.c,v 1.8 1995/04/22 08:09:22 cgd Exp $ */ /* * Copyright (c) 1980, 1993 @@ -43,7 +43,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)worms.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$NetBSD: worms.c,v 1.7 1995/04/22 08:08:05 cgd Exp $"; +static char rcsid[] = "$NetBSD: worms.c,v 1.8 1995/04/22 08:09:22 cgd Exp $"; #endif #endif /* not lint */ @@ -65,10 +65,12 @@ static char rcsid[] = "$NetBSD: worms.c,v 1.7 1995/04/22 08:08:05 cgd Exp $"; * */ #include +#include #include #include #include +#include #include static struct options { @@ -204,6 +206,10 @@ main(argc, argv) char *AL, *BC, *CM, *EI, *HO, *IC, *IM, *IP, *SR; char *field, tcb[100], *mp; long random(); + struct termios ti; +#ifdef TIOCGWINSZ + struct winsize ws; +#endif length = 16; number = 3;