mirror of
https://github.com/python/cpython.git
synced 2025-11-26 21:33:10 +00:00
Conditionalize sys/time.h inclusion.
This commit is contained in:
parent
aef18b1c67
commit
b74d084da8
1 changed files with 2 additions and 0 deletions
|
|
@ -13,7 +13,9 @@
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
#ifdef HAVE_SYS_TIME_H
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef SIG_ERR
|
#ifndef SIG_ERR
|
||||||
#define SIG_ERR ((PyOS_sighandler_t)(-1))
|
#define SIG_ERR ((PyOS_sighandler_t)(-1))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue