Skip to content

Commit 7531a55

Browse files
committed
Fix select module
1 parent 0a43ccc commit 7531a55

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Modules/selectmodule.c

+3-1
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)