mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +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 <sys/stat.h>
|
||||
#ifdef HAVE_SYS_TIME_H
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
#ifndef SIG_ERR
|
||||
#define SIG_ERR ((PyOS_sighandler_t)(-1))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue