Add a header that's modern C.
authorEric S. Raymond <esr@thyrsus.com>
Wed, 13 Oct 2010 00:48:15 +0000 (20:48 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Wed, 13 Oct 2010 00:48:15 +0000 (20:48 -0400)
README
superhack.c
wumpus.c

diff --git a/README b/README
index 2178ccc71e1fed5341141ece6f43c7211f4f9ce5..d6058bceda41511986b64d03c92b9a40359ceb09 100644 (file)
--- a/README
+++ b/README
@@ -6,4 +6,4 @@ fixes two minor bugs in my original USENET posting of the source.
 
 SUPERHACK is a satire, structurally quite similar to WUMPUS.
 
-For updates and related resources, see http://www.ccil.org/~esr/home.html.
+For updates and related resources, see http://www.catb.org/~esr/wunpus/.
index f9879fd8ee10b7afc6af792d4ae53a573b3a3bb1..3f33547257617c6878cc0702c93976cfe521bbba 100644 (file)
@@ -13,6 +13,7 @@
 
 #include <stdio.h>
 #include <ctype.h>
+#include <stdlib.h>
 
 static int path[5];
 static int j, k, scratchloc, pies;
index a1abb700c565cdcbe3f8865036ca65a312e32ef0..5aef1c3a19608601b9d2f7062b48ffee81c5979c 100644 (file)
--- a/wumpus.c
+++ b/wumpus.c
@@ -29,6 +29,7 @@
 
 #include <stdio.h>
 #include <ctype.h>
+#include <stdlib.h>
 
 /* 5 REM *** HUNT THE WUMPUS ***                                       */