mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
pytime: include winsock2, so we can have a complete timeval type (#3377)
This commit is contained in:
parent
b0a9a5a6a4
commit
833860615b
1 changed files with 1 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
#include "Python.h"
|
||||
#ifdef MS_WINDOWS
|
||||
#include <windows.h>
|
||||
#include <winsock2.h> /* struct timeval */
|
||||
#endif
|
||||
|
||||
#if defined(__APPLE__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue