This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch] Guard inclusion of sys/wait.h in fixincludes/fixincl.c
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: Mark Mitchell <mark at codesourcery dot com>
- Cc: dannysmith at users dot sourceforge dot net, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 23 May 2005 13:12:53 -0400
- Subject: Re: [Patch] Guard inclusion of sys/wait.h in fixincludes/fixincl.c
- References: <20050517211615.27518.qmail@web50912.mail.yahoo.com> <42920ED7.2010401@codesourcery.com>
On May 23, 2005, at 1:11 PM, Mark Mitchell wrote:
Danny Smith wrote:
Hello
The inclusion of sys/wait.h by fixincludes/fixincl.c causes failure
on targets without
<sys/wait.h>
The code that uses wait() is guarded by #ifndef SEPARATE_FIX_PROC, so
guard header inclusion by
the same.
fixincludes/ChangeLog
2005-05-17 Danny Smith <dannysmith@users.souceforge.net>
* fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
OK, once slush is over.
Even this does not make sense since it fixes a bootstrap for a target.
-- Pinski