aboutsummaryrefslogtreecommitdiff
path: root/games/hack/hack.u_init.c
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1997-09-24 12:29:25 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1997-09-24 12:29:25 +0000
commit0f8da203cbd33dc3319bee8a2e8372e521d92201 (patch)
treea5d9b9d4f3124069ce1ebdf550e1343287f68264 /games/hack/hack.u_init.c
parentfd2fc7576954836cff6be63ee4c3819272424bc7 (diff)
Notes
Diffstat (limited to 'games/hack/hack.u_init.c')
-rw-r--r--games/hack/hack.u_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/hack/hack.u_init.c b/games/hack/hack.u_init.c
index bc06fa5ecfd5..cb8a97d4e1cf 100644
--- a/games/hack/hack.u_init.c
+++ b/games/hack/hack.u_init.c
@@ -4,6 +4,7 @@
#include "hack.h"
#include <stdio.h>
#include <signal.h>
+#include <stdlib.h>
#define Strcpy (void) strcpy
#define Strcat (void) strcat
#define UNDEF_TYP 0
@@ -307,7 +308,6 @@ extern struct obj *mkobj();
#ifdef WIZARD
wiz_inv(){
register struct trobj *trop = &Extra_objs[0];
-extern char *getenv();
register char *ep = getenv("INVENT");
register int type;
while(ep && *ep) {