Browse Source

Remove #include <poll.h> from Windows section - already in winsock2.h

nodeinfo-routing-update
Evgeny 8 months ago
parent
commit
9b1d43996e
  1. 4
      lib/platform_compat.h

4
lib/platform_compat.h

@ -102,9 +102,7 @@
#define fcntl platform_fcntl
// nanosleep already defined in pthread_time.h on MSYS2
// poll is in ws2tcpip.h or poll.h on MSYS2
#include <poll.h>
// poll() and pollfd already defined in winsock2.h on MSYS2
#else
// POSIX - include standard headers

Loading…
Cancel
Save