From edc2856a2ae2dc46037f85652440bd329b1a2c8a Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Sun, 2 Aug 2015 21:41:40 +0300 Subject: Rework zOS patches; keep separate from autotools. --- io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'io.c') diff --git a/io.c b/io.c index 2344c2ad..8ebce698 100644 --- a/io.c +++ b/io.c @@ -1774,7 +1774,7 @@ two_way_open(const char *str, struct redirect *rp) if (find_two_way_processor(str, rp)) return true; -#if defined(HAVE_TERMIOS_H) && ! defined(ZOS_USS) +#if defined(HAVE_TERMIOS_H) /* case 3: use ptys for two-way communications to child */ if (! no_ptys && pty_vs_pipe(str)) { static bool initialized = false; @@ -2000,7 +2000,7 @@ two_way_open(const char *str, struct redirect *rp) first_pty_letter = '\0'; /* reset for next command */ return true; } -#endif /* defined(HAVE_TERMIOS_H) && ! defined(ZOS_USS) */ +#endif /* defined(HAVE_TERMIOS_H) */ use_pipes: #ifndef PIPES_SIMULATED /* real pipes */ -- cgit v1.2.3 From 5e547510dfad2ce5f00e2f495b054c4331c62dfc Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Wed, 26 Aug 2015 21:57:28 +0300 Subject: Move include of sys/select.h to io.c. --- io.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'io.c') diff --git a/io.c b/io.c index 8ebce698..f6b50314 100644 --- a/io.c +++ b/io.c @@ -76,6 +76,10 @@ #include #endif /* HAVE_NETDB_H */ +#ifdef HAVE_SYS_SELECT_H +#include +#endif /* HAVE_SYS_SELECT_H */ + #ifndef HAVE_GETADDRINFO #include "missing_d/getaddrinfo.h" #endif -- cgit v1.2.3