termux-packages/packages/zssh/openpty.c.patch
2021-12-29 10:50:45 +02: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};