diff --git a/src/lib/nfs/Connection.cxx b/src/lib/nfs/Connection.cxx index b417f2fab..f9792f41b 100644 --- a/src/lib/nfs/Connection.cxx +++ b/src/lib/nfs/Connection.cxx @@ -31,7 +31,11 @@ extern "C" { #include +#ifdef _WIN32 +#include +#else #include /* for POLLIN, POLLOUT */ +#endif static constexpr std::chrono::steady_clock::duration NFS_MOUNT_TIMEOUT = std::chrono::minutes(1);