Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly include <sys/timeb.h> for ftime() and struct timeb #33

Merged
merged 2 commits into from Aug 12, 2022

Conversation

stefanor
Copy link
Contributor

Needed to build on Python 3.9.

Fixes: #32

Can't see what changed in the Python 3.9 headers, where this used to be transitively included and isn't any more.

Note, ftime() is deprecated, and should be replaced with gettimeofday(). This PR does not do that.

Needed to build on Python 3.9.

Fixes: freach#32

Can't see what changed in the Python 3.9 headers, where this used to be
transitively included and isn't any more.

Note, ftime() is deprecated, and should be replaced with gettimeofday().
This PR does not do that.
@ibnsinaa
Copy link

ibnsinaa commented Feb 7, 2021

Hi, I am very new to python but need to work with the sit2standpy algorithm. One of the requirements of this package is the udatetime.
I am also having the same problem with udatetime. I am running with Python 3.9.1. Any solutions to this please?

src/rfc3339.c Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot build on Python 3.9
5 participants