diff options
author | Minmin Gong <gongminmin@msn.com> | 2020-05-18 16:22:53 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-18 16:22:53 (GMT) |
commit | f660567937277cc3a2cd53af77bbb18e905427e8 (patch) | |
tree | 9b6c97dde19f448675440e65af26f62fda6cbd81 /Python | |
parent | 7f21c9ac872acc2114aee3313d132b016550ff42 (diff) | |
download | cpython-f660567937277cc3a2cd53af77bbb18e905427e8.zip cpython-f660567937277cc3a2cd53af77bbb18e905427e8.tar.gz cpython-f660567937277cc3a2cd53af77bbb18e905427e8.tar.bz2 |
bpo-40650: Include winsock2.h in pytime.c, instead of a full windows.h (GH-20137)
Diffstat (limited to 'Python')
-rw-r--r-- | Python/pytime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pytime.c b/Python/pytime.c index 6affccb..b121b43 100644 --- a/Python/pytime.c +++ b/Python/pytime.c @@ -1,6 +1,6 @@ #include "Python.h" #ifdef MS_WINDOWS -#include <windows.h> +#include <winsock2.h> /* struct timeval */ #endif #if defined(__APPLE__) |