chiark / gitweb /
libpixman: Update to 0.32.8
[termux-packages] / packages / mosh / pty_compat.cc.patch
1 diff -u -r ../mosh-1.2.4/src/util/pty_compat.cc ./src/util/pty_compat.cc
2 --- ../mosh-1.2.4/src/util/pty_compat.cc        2013-03-10 21:45:37.000000000 +0100
3 +++ ./src/util/pty_compat.cc    2014-01-23 03:18:24.000000000 +0100
4 @@ -39,7 +39,6 @@
5  #include <unistd.h>
6  #include <fcntl.h>
7  #include <sys/ioctl.h>
8 -#include <sys/stropts.h>
9  #include <termios.h>
10
11  #include "pty_compat.h"
12 @@ -92,7 +91,7 @@
13      return -1;
14    }
15
16 -#ifndef _AIX
17 +#ifndef __ANDROID__
18    if ( ioctl(slave, I_PUSH, "ptem") < 0 ||
19         ioctl(slave, I_PUSH, "ldterm") < 0 ) {
20      perror( "ioctl(I_PUSH)" );