--- agent/filter/io.c.orig 2020-04-09 14:16:46 UTC +++ agent/filter/io.c @@ -100,6 +100,7 @@ #include #include #include +#include #ifdef I_UNISTD #include /* R_OK and friends */ @@ -141,6 +142,9 @@ extern char *malloc(); /* Memory allocation */ #ifdef I_SYS_IOCTL #include #endif +#ifdef I_SYS_PARAM +#include +#endif /* * The following should be defined in . @@ -739,7 +743,7 @@ char *location; */ 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 */