bpo-40650: Include winsock2.h in pytime.c, instead of a full windows.h (GH-20137)
This commit is contained in:
parent
7f21c9ac87
commit
f660567937
|
@ -0,0 +1 @@
|
|||
Include winsock2.h in pytime.c for timeval.
|
|
@ -1,6 +1,6 @@
|
|||
#include "Python.h"
|
||||
#ifdef MS_WINDOWS
|
||||
#include <windows.h>
|
||||
#include <winsock2.h> /* struct timeval */
|
||||
#endif
|
||||
|
||||
#if defined(__APPLE__)
|
||||
|
|
Loading…
Reference in New Issue