0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-03-04 08:18:54 +00:00
termux-packages/packages/shellinabox/shellinabox_launcher.c.patch
2023-04-12 08:23:03 +09: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