This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin 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] winsup cvs HEAD build broken


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>






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