diff options
Diffstat (limited to 'pan')
-rw-r--r-- | pan/ltp-pan.c | 3 | ||||
-rw-r--r-- | pan/zoolib.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/pan/ltp-pan.c b/pan/ltp-pan.c index bfe2dadd7..1b1456a9b 100644 --- a/pan/ltp-pan.c +++ b/pan/ltp-pan.c @@ -60,6 +60,7 @@ #include <errno.h> #include <err.h> #include <limits.h> +#include <signal.h> #include <stdlib.h> #include <string.h> #include <time.h> @@ -805,6 +806,7 @@ check_pids(struct tag_pgrp *running, int *num_active, int keep_active, static pid_t run_child(struct coll_entry *colle, struct tag_pgrp *active, int quiet_mode) { + ssize_t errlen; int cpid; int c_stdout = -1; /* child's stdout, stderr */ int capturing = 0; /* output is going to a file instead of stdout */ @@ -812,7 +814,6 @@ run_child(struct coll_entry *colle, struct tag_pgrp *active, int quiet_mode) static long cmdno = 0; int errpipe[2]; /* way to communicate to parent that the tag */ char errbuf[1024]; /* didn't actually start */ - int errlen; /* Try to open the file that will be stdout for the test */ if (test_out_dir) { diff --git a/pan/zoolib.c b/pan/zoolib.c index ed4efc55b..156b24bd9 100644 --- a/pan/zoolib.c +++ b/pan/zoolib.c @@ -49,6 +49,7 @@ * */ +#include <signal.h> #include <stdlib.h> /* for getenv */ #include <string.h> #include "zoolib.h" @@ -471,4 +472,4 @@ main(int argc, char *argv[]) -#endif
\ No newline at end of file +#endif |