Follow-up Comment #7, bug #63185 (project make):
i guess, it is possible that sys/loadavg.h exists, but still doesn't declare
getloadavg.
It is also possible that configure sets HAVE_DECL_GETLOADAVG to 0 and also
defines HAVE_SYS_LOADAVG_H and in this case there is a declaraion in
sys/loadavg.h and also in job.c. Which should be benign as long as the
declarations match.
This alone
++++
#if HAVE_DECL_GETLOADAVG == 0
int getloadavg (double loadavg[], int nelem);
#endif
----
gets the job done.
Btw, why do you include sys/time.h?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63185>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/