* If you do not wish that, delete this exception notice.
*/
#include "auto-host.h"
-
-#include <sys/types.h>
-#ifdef HAVE_FCNTL_H
-#include <fcntl.h>
-#endif
-#include <errno.h>
-#include <signal.h>
-#include <stdlib.h>
-#include <string.h>
-#include <ctype.h>
-#include <sys/param.h>
+#include "gansidecl.h"
+#include "system.h"
#include "server.h"
t_pchar *pp_args;
pid_t *p_child;
{
- t_fd_pair stdout_pair = {-1, -1};
+ t_fd_pair stdout_pair;
pid_t ch_id;
char *pz_cmd;
+ stdout_pair.read_fd = stdout_pair.write_fd = -1;
+
/*
* Create a pipe it will be the child process' stdout,
* and the parent will read from it.