diff options
-rw-r--r-- | debian/changelog | 2 | ||||
-rw-r--r-- | parallel.c | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 8c5b796..1ae8914 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,6 +10,8 @@ moreutils (0.51+dyson1) UNRELEASED; urgency=low [ Igor Pashev ] * Fixed ifdata for illumos/Solaris. Thanks to Gabriele Giacone * include <signal.h> for raise() in ifne.c + * include <sys/loadavg.h> for getloadavg() in parallel.c on + illumos/solaris -- Igor Pashev <pashev.igor@gmail.com> Tue, 31 Dec 2013 11:38:59 +0400 @@ -32,6 +32,10 @@ #include <sys/wait.h> #include <unistd.h> +#ifdef __sun +# include <sys/loadavg.h> /* getloadavg() */ +#endif + #if !defined(WEXITED) #define WEXITED 0 #endif |