Skip to content

Commit b8ae626

Browse files
Fix the include for SOCKET on Windows.
1 parent 634aa0f commit b8ae626

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Include/internal/pycore_signal.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ extern "C" {
1414

1515
#ifdef MS_WINDOWS
1616
# include <windows.h> // HANDLE
17+
# include <winsock2.h> // SOCKET
1718
#endif
1819
#ifdef HAVE_SIGNAL_H
1920
# include <signal.h> // NSIG

0 commit comments

Comments
 (0)