summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
authorAnthony Baxter <anthonybaxter@gmail.com>2004-10-13 15:30:56 (GMT)
committerAnthony Baxter <anthonybaxter@gmail.com>2004-10-13 15:30:56 (GMT)
commit8a560dee7291f75968eea773c1258f2c25b5a81f (patch)
treeec6cee1dfa018242cada55cb5c5b1849a437d721 /Modules/posixmodule.c
parente4f8a48b8fa0a0ec19d4c35bf213d0022e3f398d (diff)
downloadcpython-8a560dee7291f75968eea773c1258f2c25b5a81f.zip
cpython-8a560dee7291f75968eea773c1258f2c25b5a81f.tar.gz
cpython-8a560dee7291f75968eea773c1258f2c25b5a81f.tar.bz2
Patch 977343, Solaris likes sys/loadavg.h. Added support for sys/loadavg.h
detection to configure &c.
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r--Modules/posixmodule.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index e71467b..31d7c61 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -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)