]> granicus.if.org Git - python/commitdiff
Revert "pytime: include winsock2, so we can have a complete timeval type (#3377)...
authorAntoine Pitrou <pitrou@free.fr>
Wed, 6 Sep 2017 11:31:09 +0000 (13:31 +0200)
committerGitHub <noreply@github.com>
Wed, 6 Sep 2017 11:31:09 +0000 (13:31 +0200)
This reverts commit 833860615bedfd2484ac0623d6f01ff0578ba09f, as it broke Windows builds.

Python/pytime.c

index b7d6e84101db0344751b77f0bb35e931a2def757..8979adc2191267f59e334051c5c5e6752f0e9be0 100644 (file)
@@ -1,7 +1,6 @@
 #include "Python.h"
 #ifdef MS_WINDOWS
 #include <windows.h>
-#include <winsock2.h> /* struct timeval */
 #endif
 
 #if defined(__APPLE__)