2016-01-21 23:41:46 +01:00

21 lines
604 B
Plaintext

$NetBSD: patch-aa,v 1.4 2015/04/20 07:35:00 wiz Exp $
--- lib/util/pseudo.c.orig 2014-07-23 01:45:41.000000000 +0000
+++ lib/util/pseudo.c
@@ -325,6 +325,7 @@ int pty_open(int *masterfd, int *slavefd
#ifndef HAVE_CYGWIN
#ifndef HAVE_LINUX /* linux does not use the streams module */
+#ifdef I_PUSH
/*
* Push the appropriate streams modules, as described in Solaris pts(7).
* HP-UX pts(7) doesn't have ttcompat module.
@@ -349,6 +350,7 @@ int pty_open(int *masterfd, int *slavefd
#endif
#endif
#endif
+#endif
#else /* HAVE_DEV_PTMX */
#ifdef HAVE_DEV_PTS_AND_PTC