diff options
author | Eli Zaretskii <eliz@gnu.org> | 2013-06-24 19:34:04 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2013-06-24 19:34:04 +0300 |
commit | ab2409635268791a2696d864251590672f4954b4 (patch) | |
tree | 81117f0a9a157cfac0d5a820c204e0671844241e /io.c | |
parent | 51e2a881f78f6bddf749594e64c84fff9b23b5e0 (diff) | |
download | egawk-ab2409635268791a2696d864251590672f4954b4.tar.gz egawk-ab2409635268791a2696d864251590672f4954b4.tar.bz2 egawk-ab2409635268791a2696d864251590672f4954b4.zip |
Fix inconsistency in system vs pipes in non-socket Windows builds.
io.c: Move #include "popen.h" out of the HAVE_SOCKETS condition,
as this is needed for non-sockets builds as well. See
http://lists.gnu.org/archive/html/bug-gawk/2013-06/msg00014.html
for the details of the problem this caused.
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -76,10 +76,6 @@ #include <netdb.h> #endif /* HAVE_NETDB_H */ -#if defined(HAVE_POPEN_H) -#include "popen.h" -#endif - #ifndef HAVE_GETADDRINFO #include "missing_d/getaddrinfo.h" #endif @@ -108,6 +104,10 @@ #include <limits.h> #endif +#if defined(HAVE_POPEN_H) +#include "popen.h" +#endif + #ifdef __EMX__ #include <process.h> #endif |