From 052a77f216ce5980851b74068e29ab2e78b30f7c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 4 Nov 2013 12:28:29 -0400 Subject: Fix ifdata to build on OS X. Thanks, Peter Eisentraut Closes: #575294 --- debian/changelog | 7 +++++++ ifdata.c | 5 +++++ 2 files changed, 12 insertions(+) diff --git a/debian/changelog b/debian/changelog index e754e20..5c111b7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +moreutils (0.51) UNRELEASED; urgency=low + + * Fix ifdata to build on OS X. Thanks, Peter Eisentraut + Closes: #575294 + + -- Joey Hess Mon, 04 Nov 2013 12:28:04 -0400 + moreutils (0.50) unstable; urgency=low * Fix build on Hurd. Closes: #716653 diff --git a/ifdata.c b/ifdata.c index 031bc19..6d7ed6f 100644 --- a/ifdata.c +++ b/ifdata.c @@ -18,6 +18,11 @@ #include #endif +#if defined(__APPLE__) + #define s6_addr16 __u6_addr.__u6_addr16 + #include +#endif + #include #include #include -- cgit v1.2.3