aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-08 10:49:26 +0200
committerEric Wong <normalperson@yhbt.net>2008-10-11 19:21:47 -0700
commit0211656d2d33b343181412938d78263a06b62587 (patch)
tree1f5c5f912f85397c4002c669f0988734420c4579
parent79e8abb461fa848cce3717333ee5cfa55ee91c71 (diff)
downloadmpd-0211656d2d33b343181412938d78263a06b62587.tar.gz
mpd-0211656d2d33b343181412938d78263a06b62587.tar.xz
mpd-0211656d2d33b343181412938d78263a06b62587.zip
CPP include cleanup
Include only headers which are really used. [ew: this is totally different from Max's branch]
-rw-r--r--src/inputPlugin.c1
-rw-r--r--src/inputPlugin.h2
-rw-r--r--src/log.h2
-rw-r--r--src/song.h2
4 files changed, 3 insertions, 4 deletions
diff --git a/src/inputPlugin.c b/src/inputPlugin.c
index 1ab118ceb..2bb05c018 100644
--- a/src/inputPlugin.c
+++ b/src/inputPlugin.c
@@ -17,6 +17,7 @@
*/
#include "inputPlugin.h"
+#include "list.h"
static List *inputPlugin_list;
diff --git a/src/inputPlugin.h b/src/inputPlugin.h
index 0fd39ea9f..4338ce471 100644
--- a/src/inputPlugin.h
+++ b/src/inputPlugin.h
@@ -23,6 +23,8 @@
#include "outputBuffer.h"
#include "metadata_pipe.h"
#include "decode.h"
+#include "tag.h"
+#include "tag_id3.h"
/* valid values for streamTypes in the InputPlugin struct: */
#define INPUT_PLUGIN_STREAM_FILE 0x01
diff --git a/src/log.h b/src/log.h
index 4026df282..734c4756c 100644
--- a/src/log.h
+++ b/src/log.h
@@ -19,9 +19,7 @@
#ifndef LOG_H
#define LOG_H
-#include "../config.h"
#include "gcc.h"
-#include "os_compat.h"
#define LOG_LEVEL_LOW 0
#define LOG_LEVEL_SECURE 1
diff --git a/src/song.h b/src/song.h
index eaccf7080..88adde0f0 100644
--- a/src/song.h
+++ b/src/song.h
@@ -22,8 +22,6 @@
#include "../config.h"
#include "os_compat.h"
#include "tag.h"
-#include "list.h"
-#include "gcc.h"
#define SONG_KEY "key: "
#define SONG_MTIME "mtime: "