Skip to content

Commit 50dc0eb

Browse files
committed
pytime.c: change the order of includes
a structure wasn't defined without this change
1 parent 82c98eb commit 50dc0eb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Python/pytime.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#include "Python.h"
2-
#include "pycore_time.h" // PyTime_t
32

43
#include <time.h> // gmtime_r()
54
#ifdef HAVE_SYS_TIME_H
@@ -9,6 +8,8 @@
98
# include <winsock2.h> // struct timeval
109
#endif
1110

11+
#include "pycore_time.h" // PyTime_t
12+
1213
#if defined(__APPLE__)
1314
# include <mach/mach_time.h> // mach_absolute_time(), mach_timebase_info()
1415

0 commit comments

Comments
 (0)