[PATCH] winsup cvs HEAD build broken

Earnie Boyd earnie_boyd@yahoo.com
Sun Oct 20 05:02:00 GMT 2002


FYI, Danny fixed this but with a different patch.

Earnie.

Igor Pechtchanski wrote:
> Hi,
> The winsup cvs HEAD doesn't build.  The error is in winsup/mingw/crt1.c --
> gcc chokes on _onexit_t.  Further investigation identified the culprit:
> http://www.cygwin.com/ml/cygwin-cvs/2002-q4/msg00056.html , in particular,
> the following change:
> 	crt1.c: Don't include fcntrl.h, stdlib.h.
> _onexit_t is defined in stdlib.h.
> I've attached the patch to include stdlib.h back, which fixes the build.
> 	Igor
> 
> ChangeLog:
> 2002-10-19  Igor Pechtchanski <pechtcha@cs.nyu.edu>
> 
> 	* crt1.c: Include stdlib.h.
> 
> 
> 
> ------------------------------------------------------------------------
> 
> Index: winsup/mingw/crt1.c
> ===================================================================
> RCS file: /cvs/src/src/winsup/mingw/crt1.c,v
> retrieving revision 1.4
> diff -u -p -r1.4 crt1.c
> --- winsup/mingw/crt1.c	19 Oct 2002 20:26:26 -0000	1.4
> +++ winsup/mingw/crt1.c	20 Oct 2002 02:22:52 -0000
> @@ -26,6 +26,7 @@
>   *
>   */
>  
> +#include <stdlib.h>
>  #include <stdio.h>
>  #include <io.h>
>  #include <process.h>



More information about the Cygwin-patches mailing list