poll.h seems to be present at cygwin-devel: https://cygwin.com/cgi-bin2/package-grep.cgi?grep=poll.h&arch=x86_64
hope that helps. Regards, Gil On Mon, Jun 3, 2019 at 5:53 PM Илья Шипицин <[email protected]> wrote: > > > пн, 3 июн. 2019 г. в 17:56, Willy Tarreau <[email protected]>: > >> Hi Ilya, >> >> On Mon, Jun 03, 2019 at 01:57:48PM +0500, ???? ??????? wrote: >> > Hello, Gil Bahat! >> > >> > can you help with troubleshooting? >> > >> > I created some basic cygwin CI: >> > >> > https://github.com/chipitsine/haproxy/blob/master/.travis.yml#L25-L30 >> > >> > it fails with >> > >> > src/ev_poll.c:16:10: fatal error: poll.h: No such file or directory >> > #include <poll.h> >> > ^~~~~~~~ >> > compilation terminated. >> > make: *** [Makefile:830: src/ev_poll.o] Error 1 >> > >> > (full log: https://travis-ci.com/chipitsine/haproxy/builds/114061737 ) >> > >> > do you know which package does "poll.h" belongs to ? >> >> Interesting, maybe poll() should be disabled on cygwin and we'd only >> keep select ? (just build with "USE_POLL=" for this). >> > > I'll try that. > > Actually, I think that I need to install some missing cygwin package > (I installed very few of them using "choco install bash make > openssl-devel cygwin-devel --source cygwin") > > >> >> Willy >> >

