]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Merged revisions 61849 via svnmerge from
authorMartin v. Löwis <martin@v.loewis.de>
Mon, 24 Mar 2008 14:05:07 +0000 (14:05 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Mon, 24 Mar 2008 14:05:07 +0000 (14:05 +0000)
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.
........

Modules/signalmodule.c

index 9b7f7bbbfc92b53138ed05d7671df6ea1a58dda0..eb4c25a08b24674a2ea61ca7e01a394e41ce9bb6 100644 (file)
@@ -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))