diff options
author | Max Kellermann <max@duempel.org> | 2016-03-01 22:08:13 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2016-03-01 22:08:13 +0100 |
commit | 1aee89f5ea603d24991c73e2479472577aa28d66 (patch) | |
tree | 5ac6038804aa63c3c9a22c613efd734fa5d688fd /src/lib/nfs | |
parent | fb547260d1b992b64c0ffd78e3bc55db86f90bda (diff) |
*: include cleanup (using iwyu)
Diffstat (limited to 'src/lib/nfs')
-rw-r--r-- | src/lib/nfs/Connection.hxx | 4 | ||||
-rw-r--r-- | src/lib/nfs/FileReader.cxx | 1 | ||||
-rw-r--r-- | src/lib/nfs/FileReader.hxx | 1 |
3 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/nfs/Connection.hxx b/src/lib/nfs/Connection.hxx index f25133d47..1d677e412 100644 --- a/src/lib/nfs/Connection.hxx +++ b/src/lib/nfs/Connection.hxx @@ -20,15 +20,12 @@ #ifndef MPD_NFS_CONNECTION_HXX #define MPD_NFS_CONNECTION_HXX -#include "Lease.hxx" #include "Cancellable.hxx" #include "event/SocketMonitor.hxx" #include "event/TimeoutMonitor.hxx" #include "event/DeferredMonitor.hxx" #include "util/Error.hxx" -#include <boost/intrusive/list.hpp> - #include <string> #include <list> #include <forward_list> @@ -37,6 +34,7 @@ struct nfs_context; struct nfsdir; struct nfsdirent; class NfsCallback; +class NfsLease; /** * An asynchronous connection to a NFS server. diff --git a/src/lib/nfs/FileReader.cxx b/src/lib/nfs/FileReader.cxx index da2288de3..523690de7 100644 --- a/src/lib/nfs/FileReader.cxx +++ b/src/lib/nfs/FileReader.cxx @@ -33,6 +33,7 @@ #include <assert.h> #include <string.h> #include <fcntl.h> +#include <sys/stat.h> NfsFileReader::NfsFileReader() :DeferredMonitor(io_thread_get()), state(State::INITIAL) diff --git a/src/lib/nfs/FileReader.hxx b/src/lib/nfs/FileReader.hxx index fa540ee94..ab88299cc 100644 --- a/src/lib/nfs/FileReader.hxx +++ b/src/lib/nfs/FileReader.hxx @@ -30,7 +30,6 @@ #include <stdint.h> #include <stddef.h> -#include <sys/stat.h> struct nfsfh; class NfsConnection; |