Index: unixos.c
--- unixos.c.orig	2003-07-21 22:54:05.000000000 +0200
+++ unixos.c	2004-05-08 14:40:53.000000000 +0200
@@ -23,6 +23,7 @@
  * SOFTWARE.
  */
 #include <stdio.h>
+#include <stdlib.h>
 #include <ctype.h>
 #include <string.h>
 #include <errno.h>
@@ -38,10 +39,6 @@
 #define MAXHOSTNAMELEN 64
 #endif
 
-extern int errno;
-extern char *malloc();
-extern char *getenv();
-
 int overwrite_files = 0;
 int didchat;
 
Index: xmalloc.c
--- xmalloc.c.orig	2003-07-21 22:35:31.000000000 +0200
+++ xmalloc.c	2004-05-08 14:41:24.000000000 +0200
@@ -23,8 +23,8 @@
  * SOFTWARE.
  */
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
-extern char *malloc(), *realloc();
 
 char *xmalloc (int size)
 {
