summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/nfs/Connection.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/nfs/Connection.cxx b/src/lib/nfs/Connection.cxx
index 4c2f523f6..a2f0cbb45 100644
--- a/src/lib/nfs/Connection.cxx
+++ b/src/lib/nfs/Connection.cxx
@@ -32,6 +32,8 @@ extern "C" {
#include <utility>
+#include <poll.h> /* for POLLIN, POLLOUT */
+
inline bool
NfsConnection::CancellableCallback::Open(nfs_context *ctx,
const char *path, int flags,