[Python-checkins] Revert "pytime: include winsock2, so we can have a complete timeval type (#3377)" (#3383)
Antoine Pitrou
webhook-mailer at python.org
Wed Sep 6 07:31:13 EDT 2017
https://github.com/python/cpython/commit/bcaac8188b1a1e67d2cc155609f0f883f036df33
commit: bcaac8188b1a1e67d2cc155609f0f883f036df33
branch: master
author: Antoine Pitrou <pitrou at free.fr>
committer: GitHub <noreply at github.com>
date: 2017-09-06T13:31:09+02:00
summary:
Revert "pytime: include winsock2, so we can have a complete timeval type (#3377)" (#3383)
This reverts commit 833860615bedfd2484ac0623d6f01ff0578ba09f, as it broke Windows builds.
files:
M Python/pytime.c
diff --git a/Python/pytime.c b/Python/pytime.c
index b7d6e84101d..8979adc2191 100644
--- a/Python/pytime.c
+++ b/Python/pytime.c
@@ -1,7 +1,6 @@
#include "Python.h"
#ifdef MS_WINDOWS
#include <windows.h>
-#include <winsock2.h> /* struct timeval */
#endif
#if defined(__APPLE__)
More information about the Python-checkins
mailing list