1997-04-18 07:59:25 +00:00
|
|
|
--- agent/filter/logfile.c.orig Fri Apr 18 16:20:26 1997
|
|
|
|
+++ agent/filter/logfile.c Fri Apr 18 16:41:06 1997
|
1999-01-19 22:54:15 +00:00
|
|
|
@@ -68,6 +68,9 @@
|
1997-04-18 07:59:25 +00:00
|
|
|
#include <sys/fcntl.h> /* Try this one in last resort */
|
|
|
|
#endif
|
1997-01-16 09:53:28 +00:00
|
|
|
#endif
|
|
|
|
+#ifdef I_SYS_PARAM
|
|
|
|
+# include <sys/param.h>
|
|
|
|
+#endif
|
1997-04-18 07:59:25 +00:00
|
|
|
|
1997-01-16 09:53:28 +00:00
|
|
|
#include "confmagic.h"
|
|
|
|
|
1999-01-19 22:54:15 +00:00
|
|
|
@@ -220,8 +223,10 @@
|
1997-01-16 09:53:28 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifdef HAS_SYS_ERRLIST
|
|
|
|
+#if !(defined(BSD) && (BSD >= 199306))
|
|
|
|
extern int sys_nerr; /* Size of sys_errlist[] */
|
|
|
|
extern char *sys_errlist[]; /* Maps error code to string */
|
|
|
|
+#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef HAS_STRERROR
|