8000 Fix select module · python/cpython@543f991 · GitHub
[go: up one dir, main page]

Skip to content

Commit 543f991

Browse files
committed
Fix select module
1 parent 28c89b0 commit 543f991

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Modules/selectmodule.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
#include "pycore_time.h" // _PyTime_t
1818

1919
#include <stddef.h> // offsetof()
20-
#include <unistd.h> // close()
20+
#ifndef MS_WINDOWS
21+
# include <unistd.h> // close()
22+
#endif
2123

2224
#ifdef HAVE_SYS_DEVPOLL_H
2325
#include <sys/resource.h>

0 commit comments

Comments
 (0)
0