$NetBSD: patch-aa,v 1.4 2011/03/06 03:47:27 dholland 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 +#include +#include +#include +#include #include #ifdef I_TIME @@ -71,6 +75,9 @@ #include /* Try this one in last resort */ #endif #endif +#ifdef I_SYS_PARAM +# include +#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)