aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-28 20:01:08 +0200
committerEric Wong <normalperson@yhbt.net>2008-08-31 03:49:51 -0700
commit929305101d4fbde7c0c540264106c4275860a3b8 (patch)
tree2bb98e22e2f3f29d5f4971ed3fa94a3194b77ab4
parent9144751e21315878343a94997ee0bda36ff7483d (diff)
downloadmpd-929305101d4fbde7c0c540264106c4275860a3b8.tar.gz
mpd-929305101d4fbde7c0c540264106c4275860a3b8.tar.xz
mpd-929305101d4fbde7c0c540264106c4275860a3b8.zip
include cleanup
Only include headers which are really needed.
-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 af559bd6b..805addde1 100644
--- a/src/command.c
+++ b/src/command.c
@@ -32,6 +32,7 @@
#include "sllist.h"
#include "ack.h"
#include "audio.h"
+#include "dbUtils.h"
#include "os_compat.h"
#include "player_error.h"
#include "outputBuffer.h"
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 57766d04b..9d75fadc7 100644
--- a/src/main.c
+++ b/src/main.c
@@ -35,7 +35,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 2e9e02a91..0bcc9680a 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 '#'