Files
termux-packages/packages/shellinabox/shellinabox_launcher.c.patch
termux-pacman-bot f56442db75 shellinabox: Fix missing login_tty declaration
%ci:no-build
2023-04-11 23:31:19 +00:00

14 lines
286 B
Diff

https://github.com/termux/termux-packages/issues/15852
--- a/shellinabox/launcher.c
+++ b/shellinabox/launcher.c
@@ -86,7 +86,7 @@
#include <util.h>
#endif
-#ifdef HAVE_UTMP_H
+#if defined HAVE_UTMP_H || (defined HAVE_LOGIN_TTY && defined __ANDROID__)
#include <utmp.h>
#endif