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]

[PATCH] winsup cvs HEAD build broken


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.

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51

Attachment: mingw-crt1-stdlib.patch
Description: Text document


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