Skip to content

Commit 30ce6fd

Browse files
committed
gh-107211: Fix select extension build on Solaris
Export the internal _Py_open() function for Solaris: the select extension uses it in its newDevPollObject() function.
1 parent 57a20b0 commit 30ce6fd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Include/internal/pycore_fileutils.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ PyAPI_FUNC(int) _Py_stat(
109109
PyObject *path,
110110
struct stat *status);
111111

112-
extern int _Py_open(
112+
// Export for 'select' shared extension (Solaris newDevPollObject() uses it)
113+
PyAPI_FUNC(int) _Py_open(
113114
const char *pathname,
114115
int flags);
115116

0 commit comments

Comments
 (0)