summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2008-03-24 14:05:07 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2008-03-24 14:05:07 (GMT)
commit3bf3cc0401126f6a21bd65ac9e962ee97a4f126a (patch)
tree8c13655c53a41e96f9dada46a45e823be2a75559 /Modules
parent823725e93cdd85371eae53352dd83fc634e95694 (diff)
downloadcpython-3bf3cc0401126f6a21bd65ac9e962ee97a4f126a.zip
cpython-3bf3cc0401126f6a21bd65ac9e962ee97a4f126a.tar.gz
cpython-3bf3cc0401126f6a21bd65ac9e962ee97a4f126a.tar.bz2
Merged revisions 61849 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r61849 | martin.v.loewis | 2008-03-24 14:54:23 +0100 (Mo, 24 Mär 2008) | 2 lines Conditionalize sys/time.h inclusion. ........
Diffstat (limited to 'Modules')
-rw-r--r--Modules/signalmodule.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c
index 9b7f7bb..eb4c25a 100644
--- a/Modules/signalmodule.c
+++ b/Modules/signalmodule.c
@@ -13,7 +13,9 @@
#include <signal.h>
#include <sys/stat.h>
+#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
+#endif
#ifndef SIG_ERR
#define SIG_ERR ((PyOS_sighandler_t)(-1))