diff --git a/capi/cpython-types.h b/capi/cpython-types.h index e32f6939b..fc3e8c448 100644 --- a/capi/cpython-types.h +++ b/capi/cpython-types.h @@ -430,6 +430,8 @@ typedef void (*PyCapsule_Destructor)(PyObject*); typedef PyObject* (*Py_OpenCodeHookFunction)(PyObject*, void*); typedef int (*Py_tracefunc)(PyObject*, PyFrameObject*, int, PyObject*); +struct timespec; +struct timeval; typedef int64_t _PyTime_t; #define _PyTime_MIN INT64_MIN #define _PyTime_MAX INT64_MAX