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

pytime: include winsock2, so we can have a complete timeval type #3377

Merged
merged 1 commit into from
Sep 6, 2017

Conversation

benjaminp
Copy link
Contributor

No description provided.

Python/pytime.c Outdated
@@ -1,6 +1,7 @@
#include "Python.h"
#ifdef MS_WINDOWS
#include <windows.h>
#include <winsock2.h>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you mind to add a comment to explain why we need to import networking functions in pytime.c? :-) (To get the timeval structure)

@benjaminp benjaminp merged commit 8338606 into master Sep 6, 2017
@benjaminp benjaminp deleted the benjamin-winsock2 branch September 6, 2017 03:45
ericsnowcurrently added a commit that referenced this pull request Sep 6, 2017
pitrou added a commit to pitrou/cpython that referenced this pull request Sep 6, 2017
…ype (python#3377)"

This reverts commit 8338606, as it broke Windows builds.
pitrou added a commit to pitrou/cpython that referenced this pull request Sep 6, 2017
GadgetSteve pushed a commit to GadgetSteve/cpython that referenced this pull request Sep 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants