> Date: Sun, 16 Dec 2007 11:08:41 +0100 > From: "Alberto Santini" <[EMAIL PROTECTED]> > Cc: bug-make@gnu.org > > I confirm you the patch works fine. > > > 2007-12-15 Eli Zaretskii <[EMAIL PROTECTED]> > > > > * config.h.W32: Include sys/types.h. > > [!_PID_T_] (pid_t): Define only if not already defined. > > > > --- config.h.W32~0 2006-04-01 12:42:38.000000000 +0300 > > +++ config.h.W32 2007-12-16 06:13:06.035500000 +0200 > > @@ -405,11 +405,16 @@ > > /* Define to empty if `const' does not conform to ANSI C. */ > > /* #undef const */ > > > > +#include <sys/types.h> > > > > + > > /* Define to `int' if <sys/types.h> doesn't define. */ > > #define gid_t int > > > > /* Define to `int' if <sys/types.h> does not define. */ > > +/* GCC 4.x reportedly defines pid_t. */ > > +#ifndef _PID_T_ > > #define pid_t int > > +#endif > > > > /* Define to `int' if <sys/types.h> doesn't define. */ > > #define uid_t int > >
It is now in the Make CVS, and will be available in the next release. Thanks again for reporting the problem and testing the solution. _______________________________________________ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make