From 051b613dc1aaf34b435e47acdb24ae59be6d250c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 11 Jul 2013 10:56:21 -0400 Subject: Fix build on Hurd. Closes: #716653 (Thanks, Pino Toscano) --- debian/changelog | 7 +++++++ ifdata.c | 4 ++++ parallel.c | 2 +- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 7559ffb..cec92a2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +moreutils (0.50) UNRELEASED; urgency=low + + * Fix build on Hurd. Closes: #716653 + (Thanks, Pino Toscano) + + -- Joey Hess Thu, 11 Jul 2013 10:55:52 -0400 + moreutils (0.49) unstable; urgency=low * ts: Fix timezone used with -i diff --git a/ifdata.c b/ifdata.c index 2de98a0..031bc19 100644 --- a/ifdata.c +++ b/ifdata.c @@ -14,6 +14,10 @@ #include #endif +#if defined(__GNU__) + #include +#endif + #include #include #include diff --git a/parallel.c b/parallel.c index d283b96..1bd796b 100644 --- a/parallel.c +++ b/parallel.c @@ -32,7 +32,7 @@ #include #include -#if defined(__FreeBSD_kernel__) +#if !defined(WEXITED) #define WEXITED 0 #endif -- cgit v1.2.3