summaryrefslogtreecommitdiff
path: root/mail/mailagent/patches/patch-aa
blob: 3fed5dfe9c7b97ce81099089400d65c25374c8b4 (plain)
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 Apr 18 16:20:26 1997
+++ agent/filter/logfile.c	Fri Apr 18 16:41:06 1997
@@ -68,6 +68,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"
 
@@ -220,8 +223,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