add licenses to compatiblity headers
use nfds_t directly for iterating the fds
don't ignore non-existent file
Add WSA->errno mapping to poll emulation, update comments.

Also, ensure this poll emulation is only build on Windows hosts.
handle POLLHUP and the OOB data cases for revents