Files
termux-packages/packages/zssh/openpty.c.patch
2022-01-01 19:54:23 +03:00

14 lines
206 B
Diff

--- a/openpty.c
+++ b/openpty.c
@@ -10,6 +10,10 @@
#include "zssh.h"
+#ifdef __ANDROID__
+#include <pty.h>
+#endif
+
#define GL_SLAVENAMELEN 50
static char gl_slavename[GL_SLAVENAMELEN + 1] = {0};