From 0211656d2d33b343181412938d78263a06b62587 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 8 Oct 2008 10:49:26 +0200 Subject: CPP include cleanup Include only headers which are really used. [ew: this is totally different from Max's branch] --- src/inputPlugin.c | 1 + src/inputPlugin.h | 2 ++ src/log.h | 2 -- src/song.h | 2 -- 4 files changed, 3 insertions(+), 4 deletions(-) (limited to 'src') 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: " -- cgit v1.2.3