summaryrefslogtreecommitdiff
path: root/mail/mailagent/files/patch-aa
blob: 31a640b797f3e570f9592142da7ffac84c218278 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- agent/filter/logfile.c.orig	Fri Dec 27 00:53:50 1996
+++ agent/filter/logfile.c	Thu Jan 16 13:57:14 1997
@@ -49,6 +49,9 @@
 # include <sys/time.h>
 # undef KERNEL
 #endif
+#ifdef I_SYS_PARAM
+# include <sys/param.h>
+#endif
 #include "confmagic.h"
 
 #define MAX_STRING	1024			/* Maximum length for logging string */
@@ -180,8 +183,10 @@
 	 */
 
 #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