This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] Guard inclusion of sys/wait.h in fixincludes/fixincl.c



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]