summaryrefslogtreecommitdiff
path: root/system/python3/musl-has-login_tty.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/python3/musl-has-login_tty.patch')
-rw-r--r--system/python3/musl-has-login_tty.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/python3/musl-has-login_tty.patch b/system/python3/musl-has-login_tty.patch
new file mode 100644
index 000000000..2ed566ee1
--- /dev/null
+++ b/system/python3/musl-has-login_tty.patch
@@ -0,0 +1,11 @@
+--- a/Modules/posixmodule.h
++++ b/Modules/posixmodule.h
+@@ -10,6 +10,8 @@
+ #include <sys/types.h>
+ #endif
+
++int login_tty(int); /* musl 4b2cb37770e56835b261660535cea77474154ba0 */
++
+ #ifndef Py_LIMITED_API
+ #ifndef MS_WINDOWS
+ PyAPI_FUNC(PyObject *) _PyLong_FromUid(uid_t);