diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2015-10-04 11:25:17 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2015-10-04 11:25:17 +0300 |
commit | ad122d8fe3acb4cde689f2995f8505eef73f0a35 (patch) | |
tree | e9f930c934fc6b32f902aa76b4d2859b0b55f21d /io.c | |
parent | 588f4f5b2808c1b3cadff6c1c26c9b1d5c70b918 (diff) | |
parent | 2626d04d332dd87d4e6e9effe943dd6aa3d21cac (diff) | |
download | egawk-ad122d8fe3acb4cde689f2995f8505eef73f0a35.tar.gz egawk-ad122d8fe3acb4cde689f2995f8505eef73f0a35.tar.bz2 egawk-ad122d8fe3acb4cde689f2995f8505eef73f0a35.zip |
Merge branch 'master' into feature/cmake
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -76,6 +76,10 @@ #include <netdb.h> #endif /* HAVE_NETDB_H */ +#ifdef HAVE_SYS_SELECT_H +#include <sys/select.h> +#endif /* HAVE_SYS_SELECT_H */ + #ifndef HAVE_GETADDRINFO #include "missing_d/getaddrinfo.h" #endif @@ -1860,7 +1864,7 @@ two_way_open(const char *str, struct redirect *rp, int extfd) 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; @@ -2086,7 +2090,7 @@ two_way_open(const char *str, struct redirect *rp, int extfd) 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 */ |