On 14 Jan 2004, Dimitri Papadopoulos-Orfanos <[EMAIL PROTECTED]> wrote: > Hi, > > distcc-2.12.1 builds just fine on Solaris 8 using the Sun ONE Studio 7 > compiler, except for one warning you may want to fix: > > "src/mon-gnome.c", line 425: warning: implicit function declaration: > getloadavg > > > Indeed getloadavg is not a POSIX function, it's a BSD function that's > probably available on most UNIX systems, but not necessarily in the same > header or library. > > On Linux it is documented to live in <stdlib.h> while on Solaris it > lives in <sys/loadavg.h>:
Thanks. In CVS I have just checked for the header rather than adding the getloadavg.c replacement. If there are platforms without that function I'll just leave out the information. -- Martin
signature.asc
Description: Digital signature
__ distcc mailing list http://distcc.samba.org/ To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/distcc
