From da59afe798f9b438f07b834683bb62f79a35fe93 Mon Sep 17 00:00:00 2001
From: Matt Johnston <matt@ucc.asn.au>
Date: Tue, 19 Mar 2013 20:12:19 +0800
Subject: [PATCH] =?UTF-8?q?ignore=20I=5FPUSH=20if=20it=20isn't=20defined,?=
 =?UTF-8?q?=20for=20Android=20from=20Reimar=20D=C3=B6ffinger?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 sshpty.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sshpty.c b/sshpty.c
index 50dd2934..fceb7fd3 100644
--- a/sshpty.c
+++ b/sshpty.c
@@ -133,7 +133,7 @@ pty_allocate(int *ptyfd, int *ttyfd, char *namebuf, int namebuflen)
 		close(*ptyfd);
 		return 0;
 	}
-#ifndef HAVE_CYGWIN
+#if !defined(HAVE_CYGWIN) && defined(I_PUSH)
 	/*
 	 * Push the appropriate streams modules, as described in Solaris pts(7).
 	 * HP-UX pts(7) doesn't have ttcompat module.
-- 
GitLab