Commit a34e1d2b authored by Max Kellermann's avatar Max Kellermann

include cleanup

As usual, include only headers which are really needed.
parent 092bdf3d
...@@ -19,12 +19,13 @@ ...@@ -19,12 +19,13 @@
#ifndef AUDIO_H #ifndef AUDIO_H
#define AUDIO_H #define AUDIO_H
#include "tag.h"
#include "os_compat.h" #include "os_compat.h"
#include "audio_format.h" #include "audio_format.h"
#define AUDIO_AO_DRIVER_DEFAULT "default" #define AUDIO_AO_DRIVER_DEFAULT "default"
struct tag;
void copyAudioFormat(AudioFormat * dest, const AudioFormat * src); void copyAudioFormat(AudioFormat * dest, const AudioFormat * src);
int cmpAudioFormat(const AudioFormat * dest, const AudioFormat * src); int cmpAudioFormat(const AudioFormat * dest, const AudioFormat * src);
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
#include "sllist.h" #include "sllist.h"
#include "utils.h" #include "utils.h"
#include "ioops.h" #include "ioops.h"
#include "myfprintf.h"
#include "os_compat.h" #include "os_compat.h"
#include "main_notify.h" #include "main_notify.h"
#include "dlist.h" #include "dlist.h"
......
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
#include "ack.h" #include "ack.h"
#include "audio.h" #include "audio.h"
#include "dbUtils.h" #include "dbUtils.h"
#include "tag.h"
#include "client.h" #include "client.h"
#include "os_compat.h" #include "os_compat.h"
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include "gcc.h" #include "gcc.h"
#include "os_compat.h" #include "os_compat.h"
#include "sllist.h" #include "sllist.h"
#include "myfprintf.h"
#define COMMAND_RETURN_KILL 10 #define COMMAND_RETURN_KILL 10
#define COMMAND_RETURN_CLOSE 20 #define COMMAND_RETURN_CLOSE 20
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include "locate.h" #include "locate.h"
#include "path.h" #include "path.h"
#include "utils.h" #include "utils.h"
#include "tag.h"
#define LOCATE_TAG_FILE_KEY "file" #define LOCATE_TAG_FILE_KEY "file"
#define LOCATE_TAG_FILE_KEY_OLD "filename" #define LOCATE_TAG_FILE_KEY_OLD "filename"
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include "log.h" #include "log.h"
#include "conf.h" #include "conf.h"
#include "myfprintf.h"
#include "utils.h" #include "utils.h"
#include "os_compat.h" #include "os_compat.h"
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include "player_control.h" #include "player_control.h"
#include "path.h" #include "path.h"
#include "log.h" #include "log.h"
#include "ack.h" #include "tag.h"
#include "os_compat.h" #include "os_compat.h"
#include "main_notify.h" #include "main_notify.h"
......
...@@ -19,10 +19,9 @@ ...@@ -19,10 +19,9 @@
#ifndef SONG_H #ifndef SONG_H
#define SONG_H #define SONG_H
#include "../config.h"
#include "os_compat.h"
#include "tag.h"
#include "list.h" #include "list.h"
#include "os_compat.h"
#include "mpd_types.h"
#define SONG_BEGIN "songList begin" #define SONG_BEGIN "songList begin"
#define SONG_END "songList end" #define SONG_END "songList end"
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include "stats.h" #include "stats.h"
#include "directory.h" #include "directory.h"
#include "tag.h"
#include "myfprintf.h" #include "myfprintf.h"
#include "player_control.h" #include "player_control.h"
#include "tagTracker.h" #include "tagTracker.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment