Issue #9079: Added _PyTime_gettimeofday(_PyTime_timeval *tp) to C API
exposed in Python.h.  This function is similar to POSIX
gettimeofday(struct timeval *tp), but available on platforms without
gettimeofday().
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index f45d7dc..79a19f8 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -268,6 +268,8 @@
     /* Initialize _warnings. */
     _PyWarnings_Init();
 
+    _PyTime_Init();
+
     initfsencoding();
 
     if (install_sigs)