Patch 977343, Solaris likes sys/loadavg.h. Added support for sys/loadavg.h

detection to configure &c.
This commit is contained in:
Anthony Baxter 2004-10-13 15:30:56 +00:00
parent e4f8a48b8f
commit 8a560dee72
4 changed files with 13 additions and 3 deletions

View file

@ -67,6 +67,10 @@ corresponding Unix manual entries for more information on calls.");
#include <sysexits.h>
#endif /* HAVE_SYSEXITS_H */
#ifdef HAVE_SYS_LOADAVG_H
#include <sys/loadavg.h>
#endif
/* Various compilers have only certain posix functions */
/* XXX Gosh I wish these were all moved into pyconfig.h */
#if defined(PYCC_VACPP) && defined(PYOS_OS2)