aboutsummaryrefslogtreecommitdiff
path: root/mail/mailagent/files/patch-agent-filter-io.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mailagent/files/patch-agent-filter-io.c')
-rw-r--r--mail/mailagent/files/patch-agent-filter-io.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/mail/mailagent/files/patch-agent-filter-io.c b/mail/mailagent/files/patch-agent-filter-io.c
new file mode 100644
index 000000000000..ab4f26f2f2aa
--- /dev/null
+++ b/mail/mailagent/files/patch-agent-filter-io.c
@@ -0,0 +1,21 @@
+--- agent/filter/io.c.orig Wed Jul 29 02:41:11 1998
++++ agent/filter/io.c Mon Aug 10 21:01:22 1998
+@@ -120,6 +120,9 @@
+ #ifdef I_SYS_IOCTL
+ #include <sys/ioctl.h>
+ #endif
++#ifdef I_SYS_PARAM
++#include <sys/param.h>
++#endif
+
+ /*
+ * The following should be defined in <sys/stat.h>.
+@@ -713,7 +716,7 @@
+ */
+
+ char **envp; /* Environment pointer */
+-#ifdef UNION_WAIT
++#if defined(UNION_WAIT) && (!defined(BSD) || BSD < 199306)
+ union wait status; /* Waiting status */
+ #else
+ int status; /* Status from command */