From: Joey Hess Date: Tue, 9 Feb 2010 20:40:14 +0000 (-0500) Subject: parallel: Define WEXITED to allow building on FreeBSD kernel. (This is somewhat exper... X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=753f003b589caca0b7a25c0df6c6ae14e7b20a89;p=moreutils parallel: Define WEXITED to allow building on FreeBSD kernel. (This is somewhat experimental.) --- diff --git a/debian/changelog b/debian/changelog index 5d06af3..d0d4fc8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,6 +6,8 @@ moreutils (0.38) UNRELEASED; urgency=low like `parallel -j3 -- ls df "echo hi"` * ifdata: Add FreeBSD kernel support, although some of the more esoteric interface options are not currently supported in FreeBSD. + * parallel: Define WEXITED to allow building on FreeBSD kernel. + (This is somewhat experimental.) -- Joey Hess Mon, 05 Oct 2009 13:33:07 -0400 diff --git a/parallel.c b/parallel.c index 2358470..c78e830 100644 --- a/parallel.c +++ b/parallel.c @@ -32,6 +32,10 @@ #include #include +#if defined(__FreeBSD_kernel__) +#define WEXITED 0 +#endif + void usage() { printf("parallel [OPTIONS] command -- arguments\n\tfor each argument, " "run command with argument, in parallel\n");