aboutsummaryrefslogtreecommitdiffstats
path: root/src/storage
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-10-01 23:38:17 +0200
committerMax Kellermann <max@duempel.org>2014-10-01 23:38:17 +0200
commit89f9561d10c6c7d39c466bc8432793fcaa89fd9d (patch)
treea9925d5f471c5d3d5c6d9925c2594b1b595ae812 /src/storage
parent8af3f91e7889fc9f23d96aa75307c4440e921875 (diff)
downloadmpd-89f9561d10c6c7d39c466bc8432793fcaa89fd9d.tar.gz
mpd-89f9561d10c6c7d39c466bc8432793fcaa89fd9d.tar.xz
mpd-89f9561d10c6c7d39c466bc8432793fcaa89fd9d.zip
storage/Interface: include cleanup
Diffstat (limited to 'src/storage')
-rw-r--r--src/storage/CompositeStorage.cxx3
-rw-r--r--src/storage/StorageInterface.hxx4
-rw-r--r--src/storage/plugins/SmbclientStorage.cxx1
3 files changed, 6 insertions, 2 deletions
diff --git a/src/storage/CompositeStorage.cxx b/src/storage/CompositeStorage.cxx
index ac6fcecd9..bd093e459 100644
--- a/src/storage/CompositeStorage.cxx
+++ b/src/storage/CompositeStorage.cxx
@@ -20,11 +20,14 @@
#include "config.h"
#include "CompositeStorage.hxx"
#include "FileInfo.hxx"
+#include "fs/AllocatedPath.hxx"
#include "util/Error.hxx"
#include "util/Domain.hxx"
#include <set>
+#include <string.h>
+
static constexpr Domain composite_domain("composite");
/**
diff --git a/src/storage/StorageInterface.hxx b/src/storage/StorageInterface.hxx
index 892e8e43b..4484815bc 100644
--- a/src/storage/StorageInterface.hxx
+++ b/src/storage/StorageInterface.hxx
@@ -21,13 +21,13 @@
#define MPD_STORAGE_INTERFACE_HXX
#include "check.h"
-#include "fs/AllocatedPath.hxx"
-#include "fs/DirectoryReader.hxx"
+#include "Compiler.h"
#include <string>
struct FileInfo;
class AllocatedPath;
+class Error;
class StorageDirectoryReader {
public:
diff --git a/src/storage/plugins/SmbclientStorage.cxx b/src/storage/plugins/SmbclientStorage.cxx
index a73c8d65c..9a181de89 100644
--- a/src/storage/plugins/SmbclientStorage.cxx
+++ b/src/storage/plugins/SmbclientStorage.cxx
@@ -24,6 +24,7 @@
#include "storage/FileInfo.hxx"
#include "lib/smbclient/Init.hxx"
#include "lib/smbclient/Mutex.hxx"
+#include "fs/Traits.hxx"
#include "util/Error.hxx"
#include "thread/Mutex.hxx"