1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/mail/mailagent/files/patch-aa
1999-01-19 22:54:15 +00:00

24 lines
534 B
Plaintext

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