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
|
|
|
|
@@ -65,6 +65,9 @@
|
|
|
|
#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"
|
|
|
|
|
1997-04-18 07:59:25 +00:00
|
|
|
@@ -217,8 +220,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
|