[PATCH] look for getloadavg in sys/loadavg.h

David Faure faure at kde.org
Fri Mar 25 13:53:19 GMT 2005


On Friday 25 March 2005 14:48, Michael Ritzert wrote:
> Hi all,
> 
> this is the second patch I required to compile kdelibs and kdebase on
> Solaris 10 i386.
> It causes configure to look for <sys/loadavg.h> and includes it in
> kasloaditem.cpp when found. This is required because Solaris has the
> declaration of getloadavg in that header.
> 
> Ok to commit?

Looks good.

(We usually #include <config.h> instead of "config.h" since it's in top_builddir anyway)

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kde-core-devel mailing list