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


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.


--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304


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