summaryrefslogtreecommitdiffstats
path: root/worm
diff options
context:
space:
mode:
Diffstat (limited to 'worm')
-rw-r--r--worm/worm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/worm/worm.c b/worm/worm.c
index cbf4caae..df34c410 100644
--- a/worm/worm.c
+++ b/worm/worm.c
@@ -1,4 +1,4 @@
-/* $NetBSD: worm.c,v 1.5 1995/04/22 07:56:23 cgd Exp $ */
+/* $NetBSD: worm.c,v 1.6 1995/04/24 12:26:16 cgd Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -43,7 +43,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)worm.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$NetBSD: worm.c,v 1.5 1995/04/22 07:56:23 cgd Exp $";
+static char rcsid[] = "$NetBSD: worm.c,v 1.6 1995/04/24 12:26:16 cgd Exp $";
#endif
#endif /* not lint */
@@ -55,6 +55,7 @@ static char rcsid[] = "$NetBSD: worm.c,v 1.5 1995/04/22 07:56:23 cgd Exp $";
#include <ctype.h>
#include <curses.h>
#include <signal.h>
+#include <stdlib.h>
#include <termios.h>
#define newlink() (struct body *) malloc(sizeof (struct body));