aboutsummaryrefslogtreecommitdiffstats
path: root/src/db
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-07 09:38:02 +0100
committerMax Kellermann <max@duempel.org>2013-01-07 10:07:40 +0100
commit975370c084c8d679ff2cc2fcee48326b1dbcbf2e (patch)
treea7df707eb1712c1921367862b35c6265c80bd5a5 /src/db
parentc3c776bc6aa9f550a832ff3a2ace4f7980f6a791 (diff)
downloadmpd-975370c084c8d679ff2cc2fcee48326b1dbcbf2e.tar.gz
mpd-975370c084c8d679ff2cc2fcee48326b1dbcbf2e.tar.xz
mpd-975370c084c8d679ff2cc2fcee48326b1dbcbf2e.zip
decoder_api.h, ...: add "extern C"
Diffstat (limited to '')
-rw-r--r--src/db/ProxyDatabasePlugin.cxx3
-rw-r--r--src/db/SimpleDatabasePlugin.cxx3
2 files changed, 1 insertions, 5 deletions
diff --git a/src/db/ProxyDatabasePlugin.cxx b/src/db/ProxyDatabasePlugin.cxx
index e41ee8819..fcdbae9f0 100644
--- a/src/db/ProxyDatabasePlugin.cxx
+++ b/src/db/ProxyDatabasePlugin.cxx
@@ -24,12 +24,11 @@
#include "PlaylistVector.hxx"
#include "Directory.hxx"
#include "gcc.h"
+#include "conf.h"
extern "C" {
#include "db_error.h"
-#include "conf.h"
#include "song.h"
-#include "tag.h"
}
#undef MPD_DIRECTORY_H
diff --git a/src/db/SimpleDatabasePlugin.cxx b/src/db/SimpleDatabasePlugin.cxx
index 84e4e7cee..8eea81e30 100644
--- a/src/db/SimpleDatabasePlugin.cxx
+++ b/src/db/SimpleDatabasePlugin.cxx
@@ -27,10 +27,7 @@
#include "DatabaseLock.hxx"
#include "db_error.h"
#include "TextFile.hxx"
-
-extern "C" {
#include "conf.h"
-}
#include <sys/types.h>
#include <sys/stat.h>