diff options
Diffstat (limited to 'testing/pypy3/0001-time.patch')
-rw-r--r-- | testing/pypy3/0001-time.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testing/pypy3/0001-time.patch b/testing/pypy3/0001-time.patch index 83e2b4e3f4a..fa929736bc3 100644 --- a/testing/pypy3/0001-time.patch +++ b/testing/pypy3/0001-time.patch @@ -1,10 +1,10 @@ --- a/pypy/module/cpyext/include/Python.h.orig +++ b/pypy/module/cpyext/include/Python.h -@@ -11,6 +11,7 @@ +@@ -14,6 +14,7 @@ # include <math.h> # include <errno.h> # include <unistd.h> +# include <sys/time.h> - # define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) - # define PyAPI_FUNC(RTYPE) __attribute__((visibility("default"))) RTYPE - # define PyAPI_DATA(RTYPE) extern PyAPI_FUNC(RTYPE) + #else + # ifdef _MSC_VER + # include <crtdefs.h> |