freebsd-ports/mail/mailagent/files/patch-ac
1997-01-16 09:53:28 +00:00

22 lines
526 B
Plaintext

--- agent/filter/io.c.orig Fri Dec 27 00:55:27 1996
+++ agent/filter/io.c Thu Jan 16 14:11:00 1997
@@ -110,6 +110,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>.
@@ -635,7 +638,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 */