diff options
author | Roland McGrath <roland@redhat.com> | 1995-11-26 01:42:27 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1995-11-26 01:42:27 +0000 |
commit | dccc12dbee6dfb6238ca5168f8c0eb0445fbd595 (patch) | |
tree | 2fbd16b96509a3e9a6a3e60fff27448ddf57b172 | |
parent | 1305447aceaf88cf2ecc338e619fa9147a97ed35 (diff) | |
download | gunmake-dccc12dbee6dfb6238ca5168f8c0eb0445fbd595.tar.gz |
[HAVE_UNION_WAIT]: Include sys/wait.h.
(start_job_command): Pass new arg to `message'; fix inverted test in that
call.
-rw-r--r-- | job.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -55,7 +55,7 @@ static int dos_batch_file; #endif /* POSIX. */ #endif -#ifdef HAVE_SYS_WAIT_H +#if defined (HAVE_SYS_WAIT_H) || defined (HAVE_UNION_WAIT) #include <sys/wait.h> #endif @@ -596,8 +596,8 @@ start_job_command (child) can log the working directory before the command's own error messages appear. */ - message ((just_print_flag || (!(flags & COMMANDS_SILENT) && !silent_flag)) - ? (char *) 0 : "%s", p); + message (0, (just_print_flag || (!(flags & COMMANDS_SILENT) && !silent_flag)) + ? "%s" : (char *) 0, p); /* Tell update_goal_chain that a command has been started on behalf of this target. It is important that this happens here and not in |