blob: 466601d646a333354c014907eb01dada1c1431d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$NetBSD: patch-ac,v 1.3 2001/04/08 00:24:56 itojun Exp $
--- agent/filter/io.c.orig Sun Mar 18 03:31:20 2001
+++ agent/filter/io.c Sun Apr 8 09:11:37 2001
@@ -130,6 +130,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>.
@@ -724,7 +727,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 */
|