1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-06 22:51:41 +00:00
freebsd-ports/mail/mailagent/files/patch-ac
1997-04-18 07:59:25 +00:00

22 lines
526 B
Plaintext

--- agent/filter/io.c.orig Fri Apr 18 16:20:00 1997
+++ agent/filter/io.c Fri Apr 18 16:32:38 1997
@@ -113,6 +113,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>.
@@ -638,7 +641,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 */