blob: fb82d85c7565ba677f8d387d623e30be3676645a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
$NetBSD: patch-aa,v 1.5 2020/10/14 05:32:16 kamil Exp $
--- lib/util/pseudo.cpp.orig 2014-07-23 01:45:41.000000000 +0000
+++ lib/util/pseudo.cpp
@@ -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
|