This is the mail archive of the cygwin 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]

/usr/include/sys/poll.h problem in cygwin snapshot 2011-04-20


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

Attachment: poll.patch
Description: Binary data

--
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

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