aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-28 20:01:08 +0200
committerMax Kellermann <max@duempel.org>2008-08-28 20:01:08 +0200
commit1560a70b01e1883d2cf6d444cef26f28753bb94e (patch)
tree52ed37affdea2cf43d74c9b3b20a9b529dcce61d /src
parentb7861868cf68e5e5b1ad75bb44555591edbdb2d9 (diff)
downloadmpd-1560a70b01e1883d2cf6d444cef26f28753bb94e.tar.gz
mpd-1560a70b01e1883d2cf6d444cef26f28753bb94e.tar.xz
mpd-1560a70b01e1883d2cf6d444cef26f28753bb94e.zip
include cleanup
Only include headers which are really needed.
Diffstat (limited to 'src')
-rw-r--r--src/command.c1
-rw-r--r--src/directory.c1
-rw-r--r--src/main.c1
-rw-r--r--src/playlist.h2
4 files changed, 3 insertions, 2 deletions
diff --git a/src/command.c b/src/command.c
index e95299ab3..7078e781e 100644
--- a/src/command.c
+++ b/src/command.c
@@ -33,6 +33,7 @@
#include "sllist.h"
#include "ack.h"
#include "audio.h"
+#include "dbUtils.h"
#include "os_compat.h"
#define COMMAND_PLAY "play"
diff --git a/src/directory.c b/src/directory.c
index 7168dab02..94a55d664 100644
--- a/src/directory.c
+++ b/src/directory.c
@@ -32,6 +32,7 @@
#include "volume.h"
#include "ack.h"
#include "myfprintf.h"
+#include "dbUtils.h"
#define DIRECTORY_DIR "directory: "
#define DIRECTORY_MTIME "mtime: "
diff --git a/src/main.c b/src/main.c
index 54c2548b1..315e272bc 100644
--- a/src/main.c
+++ b/src/main.c
@@ -41,7 +41,6 @@
#include "inputStream.h"
#include "state_file.h"
#include "tag.h"
-#include "tagTracker.h"
#include "dbUtils.h"
#include "../config.h"
#include "utils.h"
diff --git a/src/playlist.h b/src/playlist.h
index c2b4f9f90..1249a8d5f 100644
--- a/src/playlist.h
+++ b/src/playlist.h
@@ -19,7 +19,7 @@
#ifndef PLAYLIST_H
#define PLAYLIST_H
-#include "dbUtils.h"
+#include "locate.h"
#define PLAYLIST_FILE_SUFFIX "m3u"
#define PLAYLIST_COMMENT '#'