From 2f5222ea2a4d549b4f269c11d34016fc7dc58dde Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Fri, 12 Sep 1997 09:32:20 -0400 Subject: snapshot of project "lynx", label v2-7-1ac_0-64 --- src/LYCgi.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/LYCgi.c') diff --git a/src/LYCgi.c b/src/LYCgi.c index c3658cae..3e825502 100644 --- a/src/LYCgi.c +++ b/src/LYCgi.c @@ -289,11 +289,11 @@ PRIVATE int LYLoadCGI ARGS4( int fd1[2], fd2[2]; char buf[1024]; pid_t pid; -#if defined(NeXT) || defined(AIX4) || defined(sony_news) +#if HAVE_TYPE_UNION_WAIT && !HAVE_WAITPID union wait wstatus; #else int wstatus; -#endif /* NeXT || AIX4 || sony_news */ +#endif /* Decode full HTTP response */ format_in = HTAtom_for("www/mime"); @@ -376,12 +376,12 @@ PRIVATE int LYLoadCGI ARGS4( (*target->isa->put_block)(target, buf, chars); } -#if defined(NeXT) || defined(AIX4) || defined(sony_news) +#if HAVE_TYPE_UNION_WAIT && !HAVE_WAITPID while (wait(&wstatus) != pid) ; /* do nothing */ #else waitpid(pid, &wstatus, 0); /* wait for child */ -#endif /* NeXT || AIX4 || sony_news */ +#endif if (anAnchor->post_data) { close(fd1[1]); } -- cgit 1.4.1-2-gfad0