[Python-checkins] python/dist/src/Modules posixmodule.c, 2.328, 2.329

anthonybaxter at users.sourceforge.net anthonybaxter at users.sourceforge.net
Wed Oct 13 17:31:13 CEST 2004


Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5027/Modules

Modified Files:
	posixmodule.c 
Log Message:
Patch 977343, Solaris likes sys/loadavg.h. Added support for sys/loadavg.h
detection to configure &c.


Index: posixmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/posixmodule.c,v
retrieving revision 2.328
retrieving revision 2.329
diff -u -d -r2.328 -r2.329
--- posixmodule.c	13 Oct 2004 14:48:49 -0000	2.328
+++ posixmodule.c	13 Oct 2004 15:30:56 -0000	2.329
@@ -67,6 +67,10 @@
 #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)



More information about the Python-checkins mailing list