8000 pytime: include winsock2, so we can have a complete timeval type (#3377) · python/cpython@8338606 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8338606

Browse files
authored
pytime: include winsock2, so we can have a complete timeval type (#3377)
1 parent b0a9a5a commit 8338606

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Python/pytime.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#include "Python.h"
22
#ifdef MS_WINDOWS
33
#include <windows.h>
4+
#include <winsock2.h> /* struct timeval */
45
#endif
56

67
#if defined(__APPLE__)

0 commit comments

Comments
 (0)
0