1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/mail/mailagent/files/patch-aa
1997-04-18 07:59:25 +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
@@ -65,6 +65,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"
@@ -217,8 +220,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