$NetBSD$

--- agent/filter/environ.c~	2001-03-17 18:31:20.000000000 +0000
+++ agent/filter/environ.c
@@ -38,6 +38,7 @@
 #include "portable.h"
 #include "hash.h"
 #include <stdio.h>
+#include <stdlib.h>
 
 #ifdef I_STRING
 #include <string.h>
@@ -56,7 +57,6 @@
  */
 private struct htable henv;			/* The associative array for env */
 
-extern char *malloc();				/* Memory allocation */
 extern char *strsave();				/* String saving */
 
 public void print_env(fd, envp)
