The doc of the getloadavg module does not mention that the function is declared in a different header file on Solaris. This fixes it:
2010-11-27 Bruno Haible <[email protected]> getloadavg: Update documentation. * doc/glibc-functions/getloadavg.texi: Mention the Solaris problem. --- doc/glibc-functions/getloadavg.texi.orig Sat Nov 27 15:54:18 2010 +++ doc/glibc-functions/getloadavg.texi Sat Nov 27 15:53:57 2010 @@ -9,6 +9,10 @@ @item This function is missing on some platforms: AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Cygwin, mingw, Interix 3.5, BeOS. +...@item +This function is declared in @code{<sys/loadavg.h>}, not @code{<sys/stdlib.h>}, +on some platforms: +Solaris 11 2010-11. @end itemize Portability problems not fixed by Gnulib:
