[PATCH] --std=c89 error in sys/signal.h
Wed Sep 30 00:35:00 GMT 2009
On 29/09/2009 17:33, Christopher Faylor wrote:
>> I see two possible solutions:
>> 1) Unconditionally #include<sys/types.h> in<sys/signal.h> (newlib), OR
>> 2) #include<sys/types.h> in<cygwin/signal.h>.
>> Since this appears to be Cygwin specific, I went for the latter. Patch
cygwinports: cgf: wtf WDLD?
cgf: What Does Linux Do?
cgf: I adapted it from Dave Korn.
cygwinports: sounds like a candidate for OLOCA
Anyway, to answer the question, AFAICS in glibc, <signal.h> #include
<bits/types.h> unconditionally. (<sys/signal.h> is just one line:
#include <signal.h> )
So should I take the first route, patching newlib instead?
More information about the Cygwin-patches