0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-13 01:50:33 +00:00
2023-04-13 03:02:23 +09:00

24 lines
383 B
Diff

--- a/ckupty.c
+++ b/ckupty.c
@@ -67,6 +67,10 @@
/* These will no doubt need adjustment... */
+#ifdef __ANDROID__
+#include <pty.h>
+#endif
+
#ifndef NEXT
#define HAVE_SETSID
#endif /* NEXT */
@@ -181,7 +181,9 @@
#endif /* WANT_UTMP */
#ifdef LINUX
+#ifndef __ANDROID__
#define CK_VHANGUP
+#endif
#define HAVE_SYS_SELECT_H
#define HAVE_GETUTENT
#define HAVE_SETUTENT