We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc42e22 commit d9a5dfaCopy full SHA for d9a5dfa
Modules/posixmodule.c
@@ -14,6 +14,7 @@
14
// is not exported by <windows.h> if the WIN32_LEAN_AND_MEAN macro is defined,
15
// whereas pycore_condvar.h defines the WIN32_LEAN_AND_MEAN macro.
16
#ifdef MS_WINDOWS
17
+# include <winsock2.h>
18
# include <windows.h>
19
# include <pathcch.h>
20
# include <lmcons.h> // UNLEN
PC/msvcrtmodule.c
@@ -23,6 +23,7 @@
23
#include <conio.h>
24
#include <sys/locking.h>
25
#include <crtdbg.h>
26
+#include <winsock2.h>
27
#include <windows.h>
28
29
#ifdef _MSC_VER
0 commit comments