/usr/include/sys/poll.h problem in cygwin snapshot 2011-04-20
Thomas Stalder
cygwinml@gmail.com
Thu Apr 21 10:12:00 GMT 2011
Hello,
The /usr/include/sys/poll.h file in the latest snapshot is broken.
----------------------- test.c -------------------------
#include <poll.h>
int main(void)
{
return 0;
}
----------------------------------------------------------
$ gcc a.c
In file included from /usr/include/poll.h:11,
from a.c:1:
/usr/include/sys/poll.h:43: error: expected ‘;’, ‘,’ or
‘)’ before ‘*’ token
Find a patch in attachment to correct the problem.
Regards,
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: poll.patch
Type: application/octet-stream
Size: 206 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20110421/33f24741/attachment.obj>
-------------- next part --------------
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list