1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-07 22:58:11 +00:00
freebsd-ports/mail/mailagent/files/patch-aa

24 lines
573 B
Plaintext
Raw Normal View History

--- 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