lib/nfs/Connection: use winsock2.h instead of poll.h on Windows
This commit is contained in:
parent
3f3e0739c4
commit
2141fdf06e
@ -31,7 +31,11 @@ extern "C" {
|
||||
|
||||
#include <utility>
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <winsock2.h>
|
||||
#else
|
||||
#include <poll.h> /* for POLLIN, POLLOUT */
|
||||
#endif
|
||||
|
||||
static constexpr std::chrono::steady_clock::duration NFS_MOUNT_TIMEOUT =
|
||||
std::chrono::minutes(1);
|
||||
|
Loading…
Reference in New Issue
Block a user