summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-06-30 10:22:08 +0200
committerMax Kellermann <max@duempel.org>2014-06-30 10:22:08 +0200
commit3f695fdfaff58856bd9ca7fa94a84d45930212ba (patch)
treea0dd283882fbfe47e8863e4bb3d949b7de6beae2 /src/lib
parent88433bca22ec9518467f313a64de5f064afc2acf (diff)
lib/nfs/Connection: include poll.h
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,