termux-packages/packages/zssh/openpty.c.patch

14 lines
206 B
Diff
Raw Normal View History

2021-12-29 07:20:46 +01:00
--- 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};