$NetBSD: patch-aa,v 1.3 2001/04/08 00:24:56 itojun Exp $

Header fixes.

--- agent/filter/logfile.c.orig	2001-03-17 18:31:21.000000000 +0000
+++ agent/filter/logfile.c
@@ -45,6 +45,10 @@
 #include "config.h"
 #include "portable.h"
 #include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <errno.h>
+#include <time.h>
 #include <sys/types.h>
 
 #ifdef I_TIME
@@ -71,6 +75,9 @@
 #include <sys/fcntl.h>	/* Try this one in last resort */
 #endif
 #endif
+#ifdef I_SYS_PARAM
+# include <sys/param.h>
+#endif
 
 #include "confmagic.h"
 
@@ -86,10 +93,7 @@ private int add_errcode();			/* Print th
 public char *progname = "ram";	/* Program name */
 public Pid_t progpid = 0;		/* Program PID */
 
-extern Time_t time();			/* Time in seconds since the Epoch */
-extern char *malloc();			/* Memory allocation */
 extern char *strsave();			/* Save string in memory */
-extern int errno;				/* System error report variable */
 
 /* VARARGS2 */
 public void add_log(level, format, arg1, arg2, arg3, arg4, arg5)
