diff options
Diffstat (limited to 'Python/pytime.c')
-rw-r--r-- | Python/pytime.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Python/pytime.c b/Python/pytime.c index 49cd5f4..d1e29e5 100644 --- a/Python/pytime.c +++ b/Python/pytime.c @@ -1,5 +1,10 @@ #include "Python.h" #include "pycore_time.h" // _PyTime_t + +#include <time.h> // gmtime_r() +#ifdef HAVE_SYS_TIME_H +# include <sys/time.h> // gettimeofday() +#endif #ifdef MS_WINDOWS # include <winsock2.h> // struct timeval #endif |