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

23 lines
450 B
Diff

--- a/ckutio.c
+++ b/ckutio.c
@@ -39,6 +39,10 @@
/* Includes */
+#ifdef __ANDROID__
+#include <pty.h>
+#endif
+
#include "ckcsym.h" /* This must go first */
#include "ckcdeb.h" /* This must go second */
@@ -492,7 +492,7 @@
#define LOCK_DIR "/var/spool/locks"
#else
#ifdef LINUXFSSTND
-#define LOCK_DIR "/var/lock";
+#define LOCK_DIR "@TERMUX_PREFIX@/var/lock";
#else
#define LOCK_DIR "/usr/spool/locks"
#endif /* LINUXFSSTND */