aboutsummaryrefslogtreecommitdiffstats
path: root/src/db
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-02 22:52:08 +0100
committerMax Kellermann <max@duempel.org>2013-01-02 22:52:08 +0100
commit0c245bc2712f5d38507b8d421cdc0a7e002a3398 (patch)
treee69818281103ba2602613d5820fef62d58d296a9 /src/db
parentd65ad1bf151383722802d4bb13b12a33b97480e4 (diff)
downloadmpd-0c245bc2712f5d38507b8d421cdc0a7e002a3398.tar.gz
mpd-0c245bc2712f5d38507b8d421cdc0a7e002a3398.tar.xz
mpd-0c245bc2712f5d38507b8d421cdc0a7e002a3398.zip
Directory: make the header C++ only
Diffstat (limited to '')
-rw-r--r--src/db/ProxyDatabasePlugin.cxx3
-rw-r--r--src/db/SimpleDatabasePlugin.cxx3
2 files changed, 2 insertions, 4 deletions
diff --git a/src/db/ProxyDatabasePlugin.cxx b/src/db/ProxyDatabasePlugin.cxx
index 01b36a6e3..95aefc14f 100644
--- a/src/db/ProxyDatabasePlugin.cxx
+++ b/src/db/ProxyDatabasePlugin.cxx
@@ -22,6 +22,7 @@
#include "DatabasePlugin.hxx"
#include "DatabaseSelection.hxx"
#include "PlaylistVector.hxx"
+#include "Directory.hxx"
#include "gcc.h"
extern "C" {
@@ -31,8 +32,6 @@ extern "C" {
#include "tag.h"
}
-#include "directory.h"
-
#undef MPD_DIRECTORY_H
#undef MPD_SONG_H
#include <mpd/client.h>
diff --git a/src/db/SimpleDatabasePlugin.cxx b/src/db/SimpleDatabasePlugin.cxx
index 85d707f52..06a92604f 100644
--- a/src/db/SimpleDatabasePlugin.cxx
+++ b/src/db/SimpleDatabasePlugin.cxx
@@ -21,6 +21,7 @@
#include "SimpleDatabasePlugin.hxx"
#include "DatabaseSelection.hxx"
#include "DatabaseHelpers.hxx"
+#include "Directory.hxx"
#include "SongFilter.hxx"
#include "DatabaseSave.hxx"
#include "DatabaseLock.hxx"
@@ -30,8 +31,6 @@ extern "C" {
#include "conf.h"
}
-#include "directory.h"
-
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>